├── src └── cloudflare │ ├── py.typed │ ├── resources │ └── __init__.py │ ├── types │ ├── hostnames │ │ ├── __init__.py │ │ └── settings │ │ │ ├── setting_value.py │ │ │ └── setting_value_param.py │ ├── radar │ │ ├── email │ │ │ ├── __init__.py │ │ │ └── security │ │ │ │ └── top │ │ │ │ └── __init__.py │ │ ├── dataset_get_response.py │ │ ├── bgp │ │ │ ├── leaks │ │ │ │ └── __init__.py │ │ │ └── hijacks │ │ │ │ └── __init__.py │ │ ├── traffic_anomalies │ │ │ └── __init__.py │ │ ├── ai │ │ │ └── bots │ │ │ │ └── __init__.py │ │ ├── dataset_download_response.py │ │ └── robots_txt │ │ │ ├── __init__.py │ │ │ └── top │ │ │ └── __init__.py │ ├── logpush │ │ ├── datasets │ │ │ └── __init__.py │ │ ├── ownership_validation.py │ │ └── job_delete_response.py │ ├── web3 │ │ ├── hostnames │ │ │ ├── __init__.py │ │ │ └── ipfs_universal_paths │ │ │ │ ├── __init__.py │ │ │ │ └── content_lists │ │ │ │ └── entry_delete_response.py │ │ └── hostname_delete_response.py │ ├── workers_for_platforms │ │ ├── __init__.py │ │ └── dispatch │ │ │ └── namespaces │ │ │ └── scripts │ │ │ ├── tag_list_response.py │ │ │ └── tag_update_response.py │ ├── pages │ │ └── projects │ │ │ └── deployments │ │ │ ├── __init__.py │ │ │ └── history │ │ │ └── __init__.py │ ├── zero_trust │ │ ├── identity_providers │ │ │ ├── __init__.py │ │ │ └── scim │ │ │ │ └── __init__.py │ │ ├── gateway │ │ │ ├── configurations │ │ │ │ └── __init__.py │ │ │ ├── gateway_ips.py │ │ │ ├── lists │ │ │ │ ├── __init__.py │ │ │ │ └── item_list_response.py │ │ │ ├── gateway_filter.py │ │ │ ├── ip_network.py │ │ │ └── ipv6_network.py │ │ ├── access │ │ │ ├── app_id.py │ │ │ ├── allowed_idps.py │ │ │ ├── allowed_headers.py │ │ │ ├── allowed_origins.py │ │ │ ├── self_hosted_domains.py │ │ │ ├── associated_hostnames.py │ │ │ ├── decision.py │ │ │ ├── saas_app_name_id_format.py │ │ │ ├── logs │ │ │ │ └── scim │ │ │ │ │ └── __init__.py │ │ │ ├── applications │ │ │ │ ├── policy_tests │ │ │ │ │ └── __init__.py │ │ │ │ ├── user_policy_check_geo.py │ │ │ │ └── ip_rule.py │ │ │ ├── allowed_methods.py │ │ │ ├── group_delete_response.py │ │ │ ├── bookmark_delete_response.py │ │ │ ├── gateway_ca_delete_response.py │ │ │ └── tag_delete_response.py │ │ ├── tunnels │ │ │ ├── warp_connector │ │ │ │ ├── __init__.py │ │ │ │ └── token_get_response.py │ │ │ └── cloudflared │ │ │ │ ├── token_get_response.py │ │ │ │ └── management_create_response.py │ │ ├── devices │ │ │ ├── carbonblack_input.py │ │ │ ├── revoke_create_response.py │ │ │ ├── unrevoke_create_response.py │ │ │ ├── posture │ │ │ │ └── integration_delete_response.py │ │ │ └── posture_delete_response.py │ │ ├── risk_scoring │ │ │ └── integrations │ │ │ │ └── __init__.py │ │ ├── dex │ │ │ ├── traceroute_test_results │ │ │ │ └── __init__.py │ │ │ ├── fleet_status │ │ │ │ └── __init__.py │ │ │ └── tests │ │ │ │ └── __init__.py │ │ ├── dlp │ │ │ ├── limit_list_response.py │ │ │ ├── pattern_validate_response.py │ │ │ ├── dataset_array.py │ │ │ ├── datasets │ │ │ │ └── versions │ │ │ │ │ └── __init__.py │ │ │ └── skip_configuration.py │ │ └── organization_revoke_users_response.py │ ├── magic_network_monitoring │ │ ├── configs │ │ │ └── __init__.py │ │ ├── vpc_flows │ │ │ ├── __init__.py │ │ │ └── token_create_response.py │ │ └── rules │ │ │ └── __init__.py │ ├── shared │ │ ├── asn.py │ │ ├── permission.py │ │ ├── token_value.py │ │ ├── sort_direction.py │ │ ├── token_condition_cidr_list.py │ │ ├── certificate_ca.py │ │ ├── certificate_request_type.py │ │ ├── identifier.py │ │ └── permission_grant.py │ ├── ssl │ │ ├── host.py │ │ ├── certificate_packs │ │ │ └── __init__.py │ │ ├── validation_method.py │ │ ├── request_validity.py │ │ ├── universal │ │ │ └── __init__.py │ │ └── verification_get_response.py │ ├── durable_objects │ │ ├── __init__.py │ │ └── namespaces │ │ │ └── __init__.py │ ├── load_balancers │ │ ├── host.py │ │ ├── default_pools.py │ │ ├── session_affinity.py │ │ ├── region_get_response.py │ │ ├── region_list_response.py │ │ ├── pool_delete_response.py │ │ ├── monitor_delete_response.py │ │ └── load_balancer_delete_response.py │ ├── spectrum │ │ ├── analytics │ │ │ ├── __init__.py │ │ │ ├── dimension.py │ │ │ └── aggregates │ │ │ │ └── __init__.py │ │ ├── origin_port.py │ │ ├── app_delete_response.py │ │ └── origin_port_param.py │ ├── dns │ │ ├── zone_transfers │ │ │ ├── outgoing │ │ │ │ └── __init__.py │ │ │ ├── force_axfr.py │ │ │ ├── enable_transfer.py │ │ │ ├── disable_transfer.py │ │ │ ├── outgoing_force_notify_response.py │ │ │ ├── outgoing_status.py │ │ │ ├── acl_delete_response.py │ │ │ ├── peer_delete_response.py │ │ │ ├── tsig_delete_response.py │ │ │ ├── incoming_delete_response.py │ │ │ └── outgoing_delete_response.py │ │ ├── record_tags.py │ │ ├── dnssec_delete_response.py │ │ ├── record_export_response.py │ │ ├── ttl.py │ │ ├── analytics │ │ │ ├── __init__.py │ │ │ └── reports │ │ │ │ └── __init__.py │ │ ├── dns_analytics_nominal_metric.py │ │ ├── ttl_param.py │ │ ├── record_delete_response.py │ │ └── settings │ │ │ └── account │ │ │ └── view_delete_response.py │ ├── ai │ │ └── models │ │ │ └── __init__.py │ ├── cloudforce_one │ │ ├── requests │ │ │ └── label.py │ │ ├── threat_events │ │ │ ├── datasets │ │ │ │ └── __init__.py │ │ │ ├── cron_list_response.py │ │ │ ├── relate_delete_response.py │ │ │ ├── category_delete_response.py │ │ │ ├── insight_delete_response.py │ │ │ ├── cron_edit_response.py │ │ │ ├── event_tag_create_response.py │ │ │ ├── event_tag_delete_response.py │ │ │ ├── raw_edit_response.py │ │ │ ├── tag_create_response.py │ │ │ ├── insight_edit_response.py │ │ │ ├── insight_get_response.py │ │ │ └── insight_create_response.py │ │ ├── request_types_response.py │ │ ├── threat_event_delete_response.py │ │ └── request_types.py │ ├── magic_transit │ │ ├── sites │ │ │ ├── subnet.py │ │ │ ├── allowed_protocol.py │ │ │ └── nat.py │ │ ├── connectors │ │ │ ├── events │ │ │ │ └── __init__.py │ │ │ └── snapshots │ │ │ │ └── __init__.py │ │ ├── health_check_type.py │ │ └── health_check_rate.py │ ├── billing │ │ └── __init__.py │ ├── firewall │ │ ├── lockdown_url.py │ │ ├── waf │ │ │ ├── override_url.py │ │ │ ├── packages │ │ │ │ ├── allowed_modes_anomaly.py │ │ │ │ ├── rule_get_response.py │ │ │ │ ├── group_edit_response.py │ │ │ │ └── group_get_response.py │ │ │ └── waf_rule.py │ │ ├── product.py │ │ ├── ua_rule_get_response.py │ │ ├── access_rule_delete_response.py │ │ ├── ua_rule_create_response.py │ │ └── ua_rule_update_response.py │ ├── intel │ │ ├── asn │ │ │ └── __init__.py │ │ ├── indicator_feed_data_response.py │ │ ├── attack_surface_report │ │ │ ├── issue_type_get_response.py │ │ │ └── severity_query_param.py │ │ ├── domains │ │ │ └── __init__.py │ │ ├── ip_get_response.py │ │ └── domain_history_get_response.py │ ├── logs │ │ ├── received │ │ │ ├── __init__.py │ │ │ └── field_get_response.py │ │ ├── rayid_get_response.py │ │ ├── control │ │ │ └── cmb │ │ │ │ └── __init__.py │ │ └── received_get_response.py │ ├── audit_logs │ │ └── __init__.py │ ├── dcv_delegation │ │ └── __init__.py │ ├── dns_firewall │ │ ├── firewall_ips.py │ │ ├── upstream_ips.py │ │ ├── analytics │ │ │ ├── __init__.py │ │ │ └── reports │ │ │ │ └── __init__.py │ │ └── dns_firewall_delete_response.py │ ├── stream │ │ ├── captions │ │ │ ├── language │ │ │ │ ├── __init__.py │ │ │ │ └── vtt_get_response.py │ │ │ ├── language_delete_response.py │ │ │ └── __init__.py │ │ ├── allowed_origins.py │ │ ├── embed_get_response.py │ │ ├── key_delete_response.py │ │ ├── webhook_delete_response.py │ │ ├── download_delete_response.py │ │ ├── watermark_delete_response.py │ │ ├── audio_track_delete_response.py │ │ └── live_inputs │ │ │ └── __init__.py │ ├── turnstile │ │ └── widget_domain.py │ ├── r2 │ │ ├── buckets │ │ │ ├── provider.py │ │ │ └── domains │ │ │ │ └── custom_delete_response.py │ │ ├── super_slurper │ │ │ ├── job_abort_response.py │ │ │ ├── job_pause_response.py │ │ │ ├── job_resume_response.py │ │ │ ├── job_abort_all_response.py │ │ │ ├── jobs │ │ │ │ └── __init__.py │ │ │ └── job_create_response.py │ │ └── bucket_list_response.py │ ├── waiting_rooms │ │ ├── events │ │ │ └── __init__.py │ │ ├── event_delete_response.py │ │ └── waiting_room_delete_response.py │ ├── addressing │ │ ├── kind.py │ │ └── regional_hostnames │ │ │ └── __init__.py │ ├── ai_gateway │ │ ├── url_get_response.py │ │ └── log_delete_response.py │ ├── url_scanner │ │ ├── scan_dom_response.py │ │ └── response_get_response.py │ ├── accounts │ │ ├── status.py │ │ ├── logs │ │ │ └── __init__.py │ │ ├── token_delete_response.py │ │ ├── member_delete_response.py │ │ └── account_delete_response.py │ ├── cache │ │ ├── state.py │ │ ├── cache_reserve.py │ │ ├── regional_tiered_cache.py │ │ ├── cache_reserve_clear.py │ │ └── cache_purge_response.py │ ├── workers │ │ ├── script_get_response.py │ │ ├── subdomain_get_response.py │ │ ├── subdomain_update_response.py │ │ ├── assets │ │ │ └── __init__.py │ │ ├── scripts │ │ │ ├── assets │ │ │ │ └── __init__.py │ │ │ ├── tail_get_response.py │ │ │ └── tail_create_response.py │ │ └── route_delete_response.py │ ├── rules │ │ ├── hostname.py │ │ ├── list_list_response.py │ │ ├── lists │ │ │ ├── item_list_response.py │ │ │ └── list_cursor.py │ │ └── hostname_param.py │ ├── zaraz │ │ ├── workflow.py │ │ ├── publish_create_response.py │ │ └── history │ │ │ └── __init__.py │ ├── rulesets │ │ ├── kind.py │ │ ├── logging.py │ │ └── phases │ │ │ └── __init__.py │ ├── shared_params │ │ ├── asn.py │ │ ├── sort_direction.py │ │ ├── token_condition_cidr_list.py │ │ ├── certificate_ca.py │ │ ├── role.py │ │ └── permission_grant.py │ ├── zones │ │ ├── type.py │ │ ├── custom_nameserver_update_response.py │ │ └── zone_delete_response.py │ ├── browser_rendering │ │ ├── content_create_response.py │ │ ├── markdown_create_response.py │ │ ├── link_create_response.py │ │ └── json_create_response.py │ ├── certificate_authorities │ │ └── hostname_association.py │ ├── custom_hostnames │ │ ├── dcv_method.py │ │ ├── domain_validation_type.py │ │ └── bundle_method.py │ ├── registrar │ │ └── __init__.py │ ├── abuse_reports │ │ ├── abuse_report_create_response.py │ │ └── __init__.py │ ├── kv │ │ ├── namespace_delete_response.py │ │ └── namespaces │ │ │ ├── value_delete_response.py │ │ │ ├── value_update_response.py │ │ │ └── metadata_get_response.py │ ├── images │ │ ├── v1_delete_response.py │ │ ├── v1 │ │ │ ├── variant_delete_response.py │ │ │ ├── key_list_response.py │ │ │ ├── key_delete_response.py │ │ │ ├── key_update_response.py │ │ │ └── key.py │ │ ├── v2 │ │ │ └── __init__.py │ │ └── v1_list_response.py │ ├── magic_cloud_networking │ │ ├── catalog_sync_refresh_response.py │ │ ├── on_ramp_delete_response.py │ │ ├── resource_policy_preview_response.py │ │ ├── catalog_sync_delete_response.py │ │ ├── cloud_integration_delete_response.py │ │ └── on_ramps │ │ │ ├── address_space_edit_response.py │ │ │ ├── address_space_list_response.py │ │ │ └── address_space_update_response.py │ ├── custom_nameservers │ │ └── custom_nameserver_delete_response.py │ ├── diagnostics │ │ └── __init__.py │ ├── network_interconnects │ │ ├── setting_get_response.py │ │ └── setting_update_response.py │ ├── acm │ │ └── certificate_authority.py │ ├── custom_certificates │ │ └── status.py │ ├── user │ │ ├── token_delete_response.py │ │ ├── tokens │ │ │ ├── __init__.py │ │ │ └── value_update_params.py │ │ ├── subscription_update_response.py │ │ ├── billing │ │ │ └── __init__.py │ │ └── organization_delete_response.py │ ├── vectorize │ │ └── index_delete_response.py │ ├── botnet_feed │ │ └── configs │ │ │ ├── __init__.py │ │ │ ├── asn_get_response.py │ │ │ └── asn_delete_response.py │ ├── ips │ │ └── __init__.py │ ├── custom_pages │ │ ├── custom_page_get_response.py │ │ └── custom_page_update_response.py │ ├── iam │ │ ├── user_group_delete_response.py │ │ └── resource_group_delete_response.py │ ├── rate_limits │ │ └── action.py │ ├── page_rules │ │ ├── page_rule_delete_response.py │ │ └── page_rule_list_response.py │ ├── argo │ │ ├── smart_routing_edit_response.py │ │ └── smart_routing_get_response.py │ ├── email_security │ │ ├── investigate │ │ │ ├── raw_get_response.py │ │ │ ├── preview_get_response.py │ │ │ └── preview_create_response.py │ │ └── settings │ │ │ ├── impersonation_registry_delete_response.py │ │ │ ├── domain_delete_response.py │ │ │ ├── domain_bulk_delete_response.py │ │ │ ├── allow_policy_delete_response.py │ │ │ ├── block_sender_delete_response.py │ │ │ └── trusted_domain_delete_response.py │ ├── alerting │ │ ├── policy_create_response.py │ │ ├── policy_update_response.py │ │ └── destinations │ │ │ ├── pagerduty_link_response.py │ │ │ ├── webhook_create_response.py │ │ │ └── webhook_update_response.py │ ├── schema_validation │ │ └── schema_delete_response.py │ ├── api_gateway │ │ └── expression_template │ │ │ └── __init__.py │ ├── healthchecks │ │ ├── preview_delete_response.py │ │ ├── check_region.py │ │ └── healthcheck_delete_response.py │ ├── rum │ │ └── rule_delete_response.py │ └── cloud_connector │ │ └── __init__.py │ ├── _version.py │ ├── lib │ └── .keep │ └── _utils │ └── _streams.py ├── .python-version ├── Brewfile ├── .github └── CODEOWNERS ├── tests ├── sample_file.txt ├── __init__.py └── api_resources │ ├── __init__.py │ ├── acm │ └── __init__.py │ ├── ai │ ├── __init__.py │ ├── models │ │ └── __init__.py │ └── finetunes │ │ └── __init__.py │ ├── argo │ └── __init__.py │ ├── cache │ └── __init__.py │ ├── calls │ └── __init__.py │ ├── d1 │ └── __init__.py │ ├── dns │ ├── __init__.py │ ├── analytics │ │ ├── __init__.py │ │ └── reports │ │ │ └── __init__.py │ ├── settings │ │ ├── __init__.py │ │ └── account │ │ │ └── __init__.py │ └── zone_transfers │ │ ├── __init__.py │ │ └── outgoing │ │ └── __init__.py │ ├── iam │ ├── __init__.py │ └── user_groups │ │ └── __init__.py │ ├── images │ ├── __init__.py │ ├── v1 │ │ └── __init__.py │ └── v2 │ │ └── __init__.py │ ├── intel │ ├── __init__.py │ ├── asn │ │ └── __init__.py │ ├── domains │ │ └── __init__.py │ ├── indicator_feeds │ │ └── __init__.py │ └── attack_surface_report │ │ └── __init__.py │ ├── kv │ ├── __init__.py │ └── namespaces │ │ └── __init__.py │ ├── logs │ ├── __init__.py │ ├── control │ │ ├── __init__.py │ │ └── cmb │ │ │ └── __init__.py │ └── received │ │ └── __init__.py │ ├── pages │ ├── __init__.py │ └── projects │ │ ├── __init__.py │ │ └── deployments │ │ ├── __init__.py │ │ └── history │ │ └── __init__.py │ ├── queues │ └── __init__.py │ ├── r2 │ ├── __init__.py │ ├── buckets │ │ ├── __init__.py │ │ └── domains │ │ │ └── __init__.py │ └── super_slurper │ │ ├── __init__.py │ │ └── jobs │ │ └── __init__.py │ ├── radar │ ├── __init__.py │ ├── ai │ │ ├── __init__.py │ │ ├── bots │ │ │ └── __init__.py │ │ └── inference │ │ │ ├── __init__.py │ │ │ └── timeseries_groups │ │ │ └── __init__.py │ ├── as112 │ │ └── __init__.py │ ├── bgp │ │ ├── __init__.py │ │ ├── leaks │ │ │ └── __init__.py │ │ ├── top │ │ │ └── __init__.py │ │ └── hijacks │ │ │ └── __init__.py │ ├── dns │ │ └── __init__.py │ ├── email │ │ ├── __init__.py │ │ ├── routing │ │ │ └── __init__.py │ │ └── security │ │ │ ├── __init__.py │ │ │ └── top │ │ │ ├── __init__.py │ │ │ └── tlds │ │ │ └── __init__.py │ ├── http │ │ ├── __init__.py │ │ ├── ases │ │ │ └── __init__.py │ │ └── locations │ │ │ └── __init__.py │ ├── attacks │ │ ├── __init__.py │ │ ├── layer3 │ │ │ ├── __init__.py │ │ │ └── top │ │ │ │ └── __init__.py │ │ └── layer7 │ │ │ ├── __init__.py │ │ │ └── top │ │ │ └── __init__.py │ ├── entities │ │ └── __init__.py │ ├── netflows │ │ └── __init__.py │ ├── quality │ │ ├── __init__.py │ │ └── speed │ │ │ └── __init__.py │ ├── ranking │ │ └── __init__.py │ ├── robots_txt │ │ ├── __init__.py │ │ └── top │ │ │ └── __init__.py │ ├── annotations │ │ └── __init__.py │ ├── verified_bots │ │ └── __init__.py │ ├── leaked_credentials │ │ └── __init__.py │ └── traffic_anomalies │ │ └── __init__.py │ ├── rules │ ├── __init__.py │ └── lists │ │ └── __init__.py │ ├── rum │ └── __init__.py │ ├── speed │ ├── __init__.py │ └── pages │ │ └── __init__.py │ ├── ssl │ ├── __init__.py │ ├── universal │ │ └── __init__.py │ └── certificate_packs │ │ └── __init__.py │ ├── stream │ ├── __init__.py │ ├── captions │ │ ├── __init__.py │ │ └── language │ │ │ └── __init__.py │ └── live_inputs │ │ └── __init__.py │ ├── user │ ├── __init__.py │ ├── tokens │ │ └── __init__.py │ └── billing │ │ └── __init__.py │ ├── web3 │ ├── __init__.py │ └── hostnames │ │ ├── __init__.py │ │ └── ipfs_universal_paths │ │ ├── __init__.py │ │ └── content_lists │ │ └── __init__.py │ ├── zaraz │ ├── __init__.py │ └── history │ │ └── __init__.py │ ├── zones │ └── __init__.py │ ├── accounts │ ├── __init__.py │ ├── logs │ │ └── __init__.py │ └── tokens │ │ └── __init__.py │ ├── addressing │ ├── __init__.py │ ├── prefixes │ │ └── __init__.py │ ├── address_maps │ │ └── __init__.py │ └── regional_hostnames │ │ └── __init__.py │ ├── ai_gateway │ └── __init__.py │ ├── alerting │ ├── __init__.py │ └── destinations │ │ └── __init__.py │ ├── api_gateway │ ├── __init__.py │ ├── discovery │ │ └── __init__.py │ ├── settings │ │ └── __init__.py │ ├── operations │ │ └── __init__.py │ ├── user_schemas │ │ └── __init__.py │ └── expression_template │ │ └── __init__.py │ ├── billing │ └── __init__.py │ ├── botnet_feed │ ├── __init__.py │ └── configs │ │ └── __init__.py │ ├── diagnostics │ └── __init__.py │ ├── firewall │ ├── __init__.py │ └── waf │ │ ├── __init__.py │ │ └── packages │ │ └── __init__.py │ ├── hostnames │ ├── __init__.py │ └── settings │ │ └── __init__.py │ ├── hyperdrive │ └── __init__.py │ ├── logpush │ ├── __init__.py │ └── datasets │ │ └── __init__.py │ ├── page_shield │ └── __init__.py │ ├── registrar │ └── __init__.py │ ├── rulesets │ ├── __init__.py │ └── phases │ │ └── __init__.py │ ├── snippets │ └── __init__.py │ ├── spectrum │ ├── __init__.py │ └── analytics │ │ ├── __init__.py │ │ ├── events │ │ └── __init__.py │ │ └── aggregates │ │ └── __init__.py │ ├── turnstile │ └── __init__.py │ ├── url_scanner │ └── __init__.py │ ├── vectorize │ ├── __init__.py │ └── indexes │ │ └── __init__.py │ ├── workers │ ├── __init__.py │ ├── assets │ │ └── __init__.py │ ├── scripts │ │ ├── __init__.py │ │ └── assets │ │ │ └── __init__.py │ └── observability │ │ └── __init__.py │ ├── workflows │ ├── __init__.py │ └── instances │ │ └── __init__.py │ ├── zero_trust │ ├── __init__.py │ ├── dex │ │ ├── __init__.py │ │ ├── tests │ │ │ └── __init__.py │ │ ├── commands │ │ │ └── __init__.py │ │ ├── http_tests │ │ │ └── __init__.py │ │ ├── fleet_status │ │ │ └── __init__.py │ │ └── traceroute_test_results │ │ │ └── __init__.py │ ├── dlp │ │ ├── __init__.py │ │ ├── email │ │ │ └── __init__.py │ │ ├── datasets │ │ │ ├── __init__.py │ │ │ └── versions │ │ │ │ └── __init__.py │ │ └── profiles │ │ │ └── __init__.py │ ├── access │ │ ├── __init__.py │ │ ├── logs │ │ │ ├── __init__.py │ │ │ └── scim │ │ │ │ └── __init__.py │ │ ├── users │ │ │ └── __init__.py │ │ ├── applications │ │ │ ├── __init__.py │ │ │ └── policy_tests │ │ │ │ └── __init__.py │ │ ├── certificates │ │ │ └── __init__.py │ │ └── infrastructure │ │ │ └── __init__.py │ ├── devices │ │ ├── __init__.py │ │ ├── posture │ │ │ └── __init__.py │ │ ├── policies │ │ │ ├── __init__.py │ │ │ ├── custom │ │ │ │ └── __init__.py │ │ │ └── default │ │ │ │ └── __init__.py │ │ └── resilience │ │ │ └── __init__.py │ ├── gateway │ │ ├── __init__.py │ │ ├── lists │ │ │ └── __init__.py │ │ └── configurations │ │ │ └── __init__.py │ ├── networks │ │ ├── __init__.py │ │ ├── routes │ │ │ └── __init__.py │ │ └── subnets │ │ │ └── __init__.py │ ├── tunnels │ │ ├── __init__.py │ │ ├── cloudflared │ │ │ └── __init__.py │ │ └── warp_connector │ │ │ └── __init__.py │ ├── organizations │ │ └── __init__.py │ ├── risk_scoring │ │ ├── __init__.py │ │ └── integrations │ │ │ └── __init__.py │ └── identity_providers │ │ ├── __init__.py │ │ └── scim │ │ └── __init__.py │ ├── cloud_connector │ └── __init__.py │ ├── cloudforce_one │ ├── __init__.py │ ├── scans │ │ └── __init__.py │ ├── requests │ │ └── __init__.py │ └── threat_events │ │ ├── __init__.py │ │ └── datasets │ │ └── __init__.py │ ├── content_scanning │ └── __init__.py │ ├── custom_hostnames │ ├── __init__.py │ └── certificate_pack │ │ └── __init__.py │ ├── dns_firewall │ ├── __init__.py │ └── analytics │ │ ├── __init__.py │ │ └── reports │ │ └── __init__.py │ ├── durable_objects │ ├── __init__.py │ └── namespaces │ │ └── __init__.py │ ├── email_routing │ ├── __init__.py │ └── rules │ │ └── __init__.py │ ├── email_security │ ├── __init__.py │ ├── investigate │ │ └── __init__.py │ └── settings │ │ └── __init__.py │ ├── healthchecks │ └── __init__.py │ ├── load_balancers │ ├── __init__.py │ ├── pools │ │ └── __init__.py │ └── monitors │ │ └── __init__.py │ ├── magic_transit │ ├── __init__.py │ ├── pcaps │ │ └── __init__.py │ ├── sites │ │ └── __init__.py │ └── connectors │ │ ├── __init__.py │ │ ├── events │ │ └── __init__.py │ │ └── snapshots │ │ └── __init__.py │ ├── request_tracers │ └── __init__.py │ ├── resource_sharing │ └── __init__.py │ ├── secrets_store │ ├── __init__.py │ └── stores │ │ └── __init__.py │ ├── security_center │ ├── __init__.py │ └── insights │ │ └── __init__.py │ ├── waiting_rooms │ ├── __init__.py │ └── events │ │ └── __init__.py │ ├── browser_rendering │ └── __init__.py │ ├── custom_certificates │ └── __init__.py │ ├── mtls_certificates │ └── __init__.py │ ├── network_interconnects │ └── __init__.py │ ├── schema_validation │ ├── __init__.py │ └── settings │ │ └── __init__.py │ ├── workers_for_platforms │ ├── __init__.py │ └── dispatch │ │ ├── __init__.py │ │ └── namespaces │ │ ├── __init__.py │ │ └── scripts │ │ └── __init__.py │ ├── certificate_authorities │ └── __init__.py │ ├── leaked_credential_checks │ └── __init__.py │ ├── magic_cloud_networking │ ├── __init__.py │ ├── on_ramps │ │ └── __init__.py │ └── catalog_syncs │ │ └── __init__.py │ ├── magic_network_monitoring │ ├── __init__.py │ ├── rules │ │ └── __init__.py │ ├── configs │ │ └── __init__.py │ └── vpc_flows │ │ └── __init__.py │ └── origin_tls_client_auth │ ├── __init__.py │ └── hostnames │ └── __init__.py ├── .release-please-manifest.json ├── bin └── publish-pypi ├── scripts ├── format └── lint ├── .gitignore ├── SECURITY.md ├── .stats.yml ├── noxfile.py └── .devcontainer └── Dockerfile /src/cloudflare/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.9.18 2 | -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- 1 | brew "rye" 2 | 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @jacobbednarz 2 | -------------------------------------------------------------------------------- /tests/sample_file.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "4.3.1" 3 | } -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /src/cloudflare/resources/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/acm/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/argo/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cache/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/calls/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/d1/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/iam/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/images/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/intel/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/kv/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/queues/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/r2/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rules/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rum/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/speed/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ssl/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/stream/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/user/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/web3/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zaraz/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zones/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/addressing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/models/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai_gateway/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/alerting/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/billing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/botnet_feed/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/diagnostics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/firewall/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/hyperdrive/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/images/v1/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/images/v2/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/intel/asn/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logpush/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/page_shield/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/r2/buckets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/ai/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/as112/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/bgp/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/dns/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/email/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/http/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/registrar/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rules/lists/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rulesets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/snippets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/spectrum/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/speed/pages/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/turnstile/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/url_scanner/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/user/tokens/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/vectorize/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workflows/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/accounts/logs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/accounts/tokens/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ai/finetunes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloud_connector/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloudforce_one/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/content_scanning/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/custom_hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns_firewall/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/durable_objects/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/email_routing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/email_security/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/firewall/waf/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/healthchecks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/iam/user_groups/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/intel/domains/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/kv/namespaces/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/load_balancers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logpush/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logs/control/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logs/control/cmb/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/logs/received/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/pages/projects/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/r2/super_slurper/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/ai/bots/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/attacks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/bgp/leaks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/bgp/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/entities/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/http/ases/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/netflows/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/quality/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/ranking/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/robots_txt/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/request_tracers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/resource_sharing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/rulesets/phases/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/secrets_store/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/security_center/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ssl/universal/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/stream/captions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/user/billing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/waiting_rooms/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/web3/hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers/assets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zaraz/history/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dlp/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /bin/publish-pypi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eux 4 | mkdir -p dist 5 | rye build --clean 6 | rye publish --yes --token=$PYPI_TOKEN 7 | -------------------------------------------------------------------------------- /tests/api_resources/addressing/prefixes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/alerting/destinations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/discovery/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/botnet_feed/configs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/browser_rendering/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloudforce_one/scans/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/custom_certificates/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/analytics/reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/settings/account/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/zone_transfers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/email_routing/rules/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/firewall/waf/packages/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/hostnames/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/intel/indicator_feeds/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/load_balancers/pools/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/pcaps/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/sites/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/mtls_certificates/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/network_interconnects/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/r2/buckets/domains/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/r2/super_slurper/jobs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/ai/inference/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/annotations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/attacks/layer3/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/attacks/layer7/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/bgp/hijacks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/email/routing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/email/security/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/http/locations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/quality/speed/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/robots_txt/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/verified_bots/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/schema_validation/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/secrets_store/stores/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/spectrum/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/ssl/certificate_packs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/stream/live_inputs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/vectorize/indexes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/waiting_rooms/events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers/observability/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers_for_platforms/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workflows/instances/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dlp/email/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/gateway/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/networks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/tunnels/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /scripts/format: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | cd "$(dirname "$0")/.." 6 | 7 | echo "==> Running formatters" 8 | rye run format 9 | -------------------------------------------------------------------------------- /tests/api_resources/addressing/address_maps/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/operations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/user_schemas/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/certificate_authorities/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloudforce_one/requests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns_firewall/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/durable_objects/namespaces/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/email_security/investigate/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/email_security/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/leaked_credential_checks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/load_balancers/monitors/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_cloud_networking/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_network_monitoring/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/connectors/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/origin_tls_client_auth/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/pages/projects/deployments/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/attacks/layer3/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/attacks/layer7/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/email/security/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/leaked_credentials/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/traffic_anomalies/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/schema_validation/settings/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/security_center/insights/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/spectrum/analytics/events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/stream/captions/language/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers/scripts/assets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/logs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/users/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/posture/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/http_tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dlp/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dlp/profiles/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/gateway/lists/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/networks/routes/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/organizations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/risk_scoring/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/addressing/regional_hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/api_gateway/expression_template/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloudforce_one/threat_events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns/zone_transfers/outgoing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/dns_firewall/analytics/reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/intel/attack_surface_report/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_cloud_networking/on_ramps/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_network_monitoring/rules/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/connectors/events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/email/security/top/tlds/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/spectrum/analytics/aggregates/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers_for_platforms/dispatch/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/applications/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/certificates/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/logs/scim/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/policies/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/resilience/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/fleet_status/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/identity_providers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/networks/subnets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/tunnels/cloudflared/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/custom_hostnames/certificate_pack/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_cloud_networking/catalog_syncs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_network_monitoring/configs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_network_monitoring/vpc_flows/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/magic_transit/connectors/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/origin_tls_client_auth/hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/pages/projects/deployments/history/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/radar/ai/inference/timeseries_groups/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/web3/hostnames/ipfs_universal_paths/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/infrastructure/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/policies/custom/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/devices/policies/default/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dlp/datasets/versions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/gateway/configurations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/identity_providers/scim/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/risk_scoring/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/tunnels/warp_connector/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/cloudforce_one/threat_events/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers_for_platforms/dispatch/namespaces/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/dex/traceroute_test_results/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/zero_trust/access/applications/policy_tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | -------------------------------------------------------------------------------- /src/cloudflare/types/hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/email/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/logpush/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/web3/hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers_for_platforms/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/pages/projects/deployments/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/identity_providers/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .prism.log 2 | .vscode 3 | _dev 4 | 5 | __pycache__ 6 | .mypy_cache 7 | 8 | dist 9 | 10 | .venv 11 | .idea 12 | 13 | .env 14 | .envrc 15 | codegen.log 16 | Brewfile.lock.json 17 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_network_monitoring/configs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/configurations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting Security Vulnerabilities 2 | 3 | Please see [this page](https://www.cloudflare.com/.well-known/security.txt) for information on how to report a vulnerability to Cloudflare. Thanks! -------------------------------------------------------------------------------- /src/cloudflare/_version.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | __title__ = "cloudflare" 4 | __version__ = "4.3.1" # x-release-please-version 5 | -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | cd "$(dirname "$0")/.." 6 | 7 | echo "==> Running lints" 8 | rye run lint 9 | 10 | echo "==> Making sure it imports" 11 | rye run python -c 'import cloudflare' 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/asn.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ASN"] 6 | 7 | ASN: TypeAlias = int 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/host.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["Host"] 6 | 7 | Host: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/durable_objects/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .namespace import Namespace as Namespace 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/host.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["Host"] 6 | 7 | Host: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .dimension import Dimension as Dimension 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/outgoing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .outgoing import Outgoing as Outgoing 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/app_id.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AppID"] 6 | 7 | AppID: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ai/models/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .schema_get_params import SchemaGetParams as SchemaGetParams 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/requests/label.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["Label"] 6 | 7 | Label: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/record_tags.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["RecordTags"] 6 | 7 | RecordTags: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/sites/subnet.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["Subnet"] 6 | 7 | Subnet: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/permission.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["Permission"] 6 | 7 | Permission: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/token_value.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TokenValue"] 6 | 7 | TokenValue: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/billing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .profile_get_response import ProfileGetResponse as ProfileGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/lockdown_url.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["LockdownURL"] 6 | 7 | LockdownURL: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/asn/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .subnet_get_response import SubnetGetResponse as SubnetGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/logs/received/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .field_get_response import FieldGetResponse as FieldGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/lib/.keep: -------------------------------------------------------------------------------- 1 | File generated from our OpenAPI spec by Stainless. 2 | 3 | This directory can be used to store custom files to expand the SDK. 4 | It is ignored by Stainless code generation and its content (other than this keep file) won't be touched. -------------------------------------------------------------------------------- /src/cloudflare/types/audit_logs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .audit_log_list_params import AuditLogListParams as AuditLogListParams 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/dcv_delegation/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .dcv_delegation_uuid import DCVDelegationUUID as DCVDelegationUUID 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/force_axfr.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ForceAXFR"] 6 | 7 | ForceAXFR: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns_firewall/firewall_ips.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["FirewallIPs"] 6 | 7 | FirewallIPs: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns_firewall/upstream_ips.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["UpstreamIPs"] 6 | 7 | UpstreamIPs: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/override_url.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["OverrideURL"] 6 | 7 | OverrideURL: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/captions/language/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .vtt_get_response import VttGetResponse as VttGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/turnstile/widget_domain.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["WidgetDomain"] 6 | 7 | WidgetDomain: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns_firewall/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .report_get_params import ReportGetParams as ReportGetParams 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/default_pools.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["DefaultPools"] 6 | 7 | DefaultPools: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/buckets/provider.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Provider"] 6 | 7 | Provider: TypeAlias = Literal["r2"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/certificate_packs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .quota_get_response import QuotaGetResponse as QuotaGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/allowed_origins.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AllowedOrigins"] 6 | 7 | AllowedOrigins: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/waiting_rooms/events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .detail_get_response import DetailGetResponse as DetailGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/allowed_idps.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AllowedIdPs"] 6 | 7 | AllowedIdPs: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/gateway_ips.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["GatewayIPs"] 6 | 7 | GatewayIPs: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/addressing/kind.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Kind"] 6 | 7 | Kind: TypeAlias = Literal["zone", "account"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ai_gateway/url_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["URLGetResponse"] 6 | 7 | URLGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns_firewall/analytics/reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .bytime_get_params import BytimeGetParams as BytimeGetParams 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/pages/projects/deployments/history/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .log_get_response import LogGetResponse as LogGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/embed_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["EmbedGetResponse"] 6 | 7 | EmbedGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/url_scanner/scan_dom_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ScanDOMResponse"] 6 | 7 | ScanDOMResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/lists/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .item_list_response import ItemListResponse as ItemListResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/accounts/status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Status"] 6 | 7 | Status: TypeAlias = Literal["member", "invited"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cache/state.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["State"] 6 | 7 | State: TypeAlias = Literal["In-progress", "Completed"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/enable_transfer.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["EnableTransfer"] 6 | 7 | EnableTransfer: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/dataset_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["DatasetGetResponse"] 6 | 7 | DatasetGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/key_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["KeyDeleteResponse"] 6 | 7 | KeyDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/script_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ScriptGetResponse"] 6 | 7 | ScriptGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/allowed_headers.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AllowedHeaders"] 6 | 7 | AllowedHeaders: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/allowed_origins.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AllowedOrigins"] 6 | 7 | AllowedOrigins: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/tunnels/warp_connector/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .token_get_response import TokenGetResponse as TokenGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/addressing/regional_hostnames/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .region_list_response import RegionListResponse as RegionListResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/dnssec_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["DNSSECDeleteResponse"] 6 | 7 | DNSSECDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/record_export_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["RecordExportResponse"] 6 | 7 | RecordExportResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/disable_transfer.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["DisableTransfer"] 6 | 7 | DisableTransfer: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/connectors/events/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .latest_list_response import LatestListResponse as LatestListResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/job_abort_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["JobAbortResponse"] 6 | 7 | JobAbortResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/job_pause_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["JobPauseResponse"] 6 | 7 | JobPauseResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/rules/hostname.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["Hostname"] 6 | 7 | 8 | class Hostname(BaseModel): 9 | url_hostname: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/captions/language/vtt_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["VttGetResponse"] 6 | 7 | VttGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zaraz/workflow.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Workflow"] 6 | 7 | Workflow: TypeAlias = Literal["realtime", "preview"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/devices/carbonblack_input.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["CarbonblackInput"] 6 | 7 | CarbonblackInput: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cache/cache_reserve.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CacheReserve"] 6 | 7 | CacheReserve: TypeAlias = Literal["cache_reserve"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/datasets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .health_get_response import HealthGetResponse as HealthGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/ttl.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import Literal, TypeAlias 5 | 6 | __all__ = ["TTL"] 7 | 8 | TTL: TypeAlias = Union[float, Literal[1]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_network_monitoring/vpc_flows/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .token_create_response import TokenCreateResponse as TokenCreateResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/connectors/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .latest_list_response import LatestListResponse as LatestListResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/job_resume_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["JobResumeResponse"] 6 | 7 | JobResumeResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/rulesets/kind.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Kind"] 6 | 7 | Kind: TypeAlias = Literal["managed", "custom", "root", "zone"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/webhook_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["WebhookDeleteResponse"] 6 | 7 | WebhookDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/url_scanner/response_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ResponseGetResponse"] 6 | 7 | ResponseGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zaraz/publish_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["PublishCreateResponse"] 6 | 7 | PublishCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/self_hosted_domains.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["SelfHostedDomains"] 6 | 7 | SelfHostedDomains: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/request_types_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["RequestTypesResponse"] 6 | 7 | RequestTypesResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/job_abort_all_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["JobAbortAllResponse"] 6 | 7 | JobAbortAllResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/sort_direction.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["SortDirection"] 6 | 7 | SortDirection: TypeAlias = Literal["asc", "desc"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/token_condition_cidr_list.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TokenConditionCIDRList"] 6 | 7 | TokenConditionCIDRList: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/asn.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import TypeAlias 6 | 7 | __all__ = ["ASN"] 8 | 9 | ASN: TypeAlias = int 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/download_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["DownloadDeleteResponse"] 6 | 7 | DownloadDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/watermark_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["WatermarkDeleteResponse"] 6 | 7 | WatermarkDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/associated_hostnames.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AssociatedHostnames"] 6 | 7 | AssociatedHostnames: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/risk_scoring/integrations/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .reference_get_response import ReferenceGetResponse as ReferenceGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/zones/type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Type"] 6 | 7 | Type: TypeAlias = Literal["full", "partial", "secondary", "internal"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/browser_rendering/content_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ContentCreateResponse"] 6 | 7 | ContentCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/certificate_authorities/hostname_association.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["HostnameAssociation"] 6 | 7 | HostnameAssociation: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_hostnames/dcv_method.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["DCVMethod"] 6 | 7 | DCVMethod: TypeAlias = Literal["http", "txt", "email"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/analytics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .report import Report as Report 6 | from .report_get_params import ReportGetParams as ReportGetParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/indicator_feed_data_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["IndicatorFeedDataResponse"] 6 | 7 | IndicatorFeedDataResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/origin_port.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["OriginPort"] 7 | 8 | OriginPort: TypeAlias = Union[int, str] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/audio_track_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AudioTrackDeleteResponse"] 6 | 7 | AudioTrackDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/captions/language_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["LanguageDeleteResponse"] 6 | 7 | LanguageDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/tunnels/cloudflared/token_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TokenGetResponse"] 6 | 7 | TokenGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/tunnels/warp_connector/token_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TokenGetResponse"] 6 | 7 | TokenGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/browser_rendering/markdown_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["MarkdownCreateResponse"] 6 | 7 | MarkdownCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/registrar/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .domain import Domain as Domain 6 | from .domain_update_params import DomainUpdateParams as DomainUpdateParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dex/traceroute_test_results/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .network_path_get_response import NetworkPathGetResponse as NetworkPathGetResponse 6 | -------------------------------------------------------------------------------- /src/cloudflare/types/abuse_reports/abuse_report_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["AbuseReportCreateResponse"] 6 | 7 | AbuseReportCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cache/regional_tiered_cache.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["RegionalTieredCache"] 6 | 7 | RegionalTieredCache: TypeAlias = Literal["tc_regional"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/analytics/reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .by_time import ByTime as ByTime 6 | from .bytime_get_params import BytimeGetParams as BytimeGetParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/attack_surface_report/issue_type_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["IssueTypeGetResponse"] 6 | 7 | IssueTypeGetResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_network_monitoring/vpc_flows/token_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TokenCreateResponse"] 6 | 7 | TokenCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/health_check_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["HealthCheckType"] 6 | 7 | HealthCheckType: TypeAlias = Literal["reply", "request"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/validation_method.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["ValidationMethod"] 6 | 7 | ValidationMethod: TypeAlias = Literal["http", "cname", "txt"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ai_gateway/log_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["LogDeleteResponse"] 6 | 7 | 8 | class LogDeleteResponse(BaseModel): 9 | success: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/cache/cache_reserve_clear.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CacheReserveClear"] 6 | 7 | CacheReserveClear: TypeAlias = Literal["cache_reserve_clear"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_hostnames/domain_validation_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["DomainValidationType"] 6 | 7 | DomainValidationType: TypeAlias = Literal["dv"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/kv/namespace_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["NamespaceDeleteResponse"] 6 | 7 | 8 | class NamespaceDeleteResponse(BaseModel): 9 | pass 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/kv/namespaces/value_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["ValueDeleteResponse"] 6 | 7 | 8 | class ValueDeleteResponse(BaseModel): 9 | pass 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/kv/namespaces/value_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["ValueUpdateResponse"] 6 | 7 | 8 | class ValueUpdateResponse(BaseModel): 9 | pass 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/logs/rayid_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["RayIDGetResponse"] 7 | 8 | RayIDGetResponse: TypeAlias = Union[str, object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/health_check_rate.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["HealthCheckRate"] 6 | 7 | HealthCheckRate: TypeAlias = Literal["low", "mid", "high"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/request_validity.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["RequestValidity"] 6 | 7 | RequestValidity: TypeAlias = Literal[7, 30, 90, 365, 730, 1095, 5475] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/tag_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TagListResponse"] 6 | 7 | TagListResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/decision.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Decision"] 6 | 7 | Decision: TypeAlias = Literal["allow", "deny", "non_identity", "bypass"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zones/custom_nameserver_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["CustomNameserverUpdateResponse"] 6 | 7 | CustomNameserverUpdateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_hostnames/bundle_method.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["BundleMethod"] 6 | 7 | BundleMethod: TypeAlias = Literal["ubiquitous", "optimal", "force"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/outgoing_force_notify_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["OutgoingForceNotifyResponse"] 6 | 7 | OutgoingForceNotifyResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/outgoing_status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["OutgoingStatus"] 7 | 8 | OutgoingStatus: TypeAlias = Optional[str] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["V1DeleteResponse"] 7 | 8 | V1DeleteResponse: TypeAlias = Union[str, object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/logs/control/cmb/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .cmb_config import CmbConfig as CmbConfig 6 | from .config_create_params import ConfigCreateParams as ConfigCreateParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/catalog_sync_refresh_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["CatalogSyncRefreshResponse"] 6 | 7 | CatalogSyncRefreshResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/sites/allowed_protocol.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["AllowedProtocol"] 6 | 7 | AllowedProtocol: TypeAlias = Literal["tcp", "udp", "icmp"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/analytics/dimension.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Dimension"] 6 | 7 | Dimension: TypeAlias = Literal["event", "appID", "coloName", "ipVersion"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/subdomain_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["SubdomainGetResponse"] 6 | 7 | 8 | class SubdomainGetResponse(BaseModel): 9 | subdomain: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/tag_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["TagUpdateResponse"] 6 | 7 | TagUpdateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /.stats.yml: -------------------------------------------------------------------------------- 1 | configured_endpoints: 1752 2 | openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b15b44e0efd207de48e7e74e742b0b4b190c74f12a941a1a0ef59a51656a5224.yml 3 | openapi_spec_hash: 83243c9ee06f88d0fa91e9b185d8a42e 4 | config_hash: 8601d43fd5ccaf9e3d08f26748a5a63a 5 | -------------------------------------------------------------------------------- /src/cloudflare/types/browser_rendering/link_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["LinkCreateResponse"] 7 | 8 | LinkCreateResponse: TypeAlias = List[str] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/cron_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["CronListResponse"] 6 | 7 | 8 | class CronListResponse(BaseModel): 9 | update: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/packages/allowed_modes_anomaly.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["AllowedModesAnomaly"] 6 | 7 | AllowedModesAnomaly: TypeAlias = Literal["on", "off"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/domains/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .bulk_get_params import BulkGetParams as BulkGetParams 6 | from .bulk_get_response import BulkGetResponse as BulkGetResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/logs/received_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["ReceivedGetResponse"] 7 | 8 | ReceivedGetResponse: TypeAlias = Union[str, object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/certificate_ca.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CertificateCA"] 6 | 7 | CertificateCA: TypeAlias = Literal["digicert", "google", "lets_encrypt", "ssl_com"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/saas_app_name_id_format.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["SaaSAppNameIDFormat"] 6 | 7 | SaaSAppNameIDFormat: TypeAlias = Literal["id", "email"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dlp/limit_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["LimitListResponse"] 6 | 7 | 8 | class LimitListResponse(BaseModel): 9 | max_dataset_cells: int 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/tunnels/cloudflared/management_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ManagementCreateResponse"] 6 | 7 | ManagementCreateResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/cache/cache_purge_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["CachePurgeResponse"] 6 | 7 | 8 | class CachePurgeResponse(BaseModel): 9 | id: str 10 | """Identifier.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_nameservers/custom_nameserver_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["CustomNameserverDeleteResponse"] 6 | 7 | CustomNameserverDeleteResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/diagnostics/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .traceroute import Traceroute as Traceroute 6 | from .traceroute_create_params import TracerouteCreateParams as TracerouteCreateParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/on_ramp_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["OnRampDeleteResponse"] 6 | 7 | 8 | class OnRampDeleteResponse(BaseModel): 9 | id: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/resource_policy_preview_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import TypeAlias 4 | 5 | __all__ = ["ResourcePolicyPreviewResponse"] 6 | 7 | ResourcePolicyPreviewResponse: TypeAlias = str 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/network_interconnects/setting_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["SettingGetResponse"] 6 | 7 | 8 | class SettingGetResponse(BaseModel): 9 | default_asn: int 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/jobs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .log_list_params import LogListParams as LogListParams 6 | from .log_list_response import LogListResponse as LogListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/email/security/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .tld_get_params import TldGetParams as TldGetParams 6 | from .tld_get_response import TldGetResponse as TldGetResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/app_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["AppDeleteResponse"] 6 | 7 | 8 | class AppDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/subdomain_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["SubdomainUpdateResponse"] 6 | 7 | 8 | class SubdomainUpdateResponse(BaseModel): 9 | subdomain: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/zones/zone_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["ZoneDeleteResponse"] 6 | 7 | 8 | class ZoneDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/accounts/logs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .audit_list_params import AuditListParams as AuditListParams 6 | from .audit_list_response import AuditListResponse as AuditListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/accounts/token_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["TokenDeleteResponse"] 6 | 7 | 8 | class TokenDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/acm/certificate_authority.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CertificateAuthority"] 6 | 7 | CertificateAuthority: TypeAlias = Literal["google", "lets_encrypt", "ssl_com"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_certificates/status.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Status"] 6 | 7 | Status: TypeAlias = Literal["active", "pending_reactivation", "pending_revocation", "revoked"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/dns_analytics_nominal_metric.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["DNSAnalyticsNominalMetric"] 7 | 8 | DNSAnalyticsNominalMetric: TypeAlias = List[object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/hostnames/settings/setting_value.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["SettingValue"] 7 | 8 | SettingValue: TypeAlias = Union[float, str, List[str]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1/variant_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["VariantDeleteResponse"] 7 | 8 | VariantDeleteResponse: TypeAlias = Union[str, object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/ip_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .ip import IP 7 | 8 | __all__ = ["IPGetResponse"] 9 | 10 | IPGetResponse: TypeAlias = List[IP] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/kv/namespaces/metadata_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["MetadataGetResponse"] 7 | 8 | MetadataGetResponse: TypeAlias = Dict[str, object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/session_affinity.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["SessionAffinity"] 6 | 7 | SessionAffinity: TypeAlias = Literal["none", "cookie", "ip_cookie", "header"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/bgp/leaks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .event_list_params import EventListParams as EventListParams 6 | from .event_list_response import EventListResponse as EventListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/rules/list_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["ListListResponse"] 7 | 8 | ListListResponse: TypeAlias = Union[List[object], object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/token_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["TokenDeleteResponse"] 6 | 7 | 8 | class TokenDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/vectorize/index_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["IndexDeleteResponse"] 7 | 8 | IndexDeleteResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/zaraz/history/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .config_get_params import ConfigGetParams as ConfigGetParams 6 | from .config_get_response import ConfigGetResponse as ConfigGetResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dlp/pattern_validate_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["PatternValidateResponse"] 6 | 7 | 8 | class PatternValidateResponse(BaseModel): 9 | valid: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/gateway_filter.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["GatewayFilter"] 6 | 7 | GatewayFilter: TypeAlias = Literal["http", "dns", "l4", "egress", "dns_resolver"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/accounts/member_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["MemberDeleteResponse"] 6 | 7 | 8 | class MemberDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/botnet_feed/configs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .asn_get_response import ASNGetResponse as ASNGetResponse 6 | from .asn_delete_response import ASNDeleteResponse as ASNDeleteResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_event_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["ThreatEventDeleteResponse"] 6 | 7 | 8 | class ThreatEventDeleteResponse(BaseModel): 9 | uuid: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/relate_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["RelateDeleteResponse"] 6 | 7 | 8 | class RelateDeleteResponse(BaseModel): 9 | success: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/durable_objects/namespaces/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .durable_object import DurableObject as DurableObject 6 | from .object_list_params import ObjectListParams as ObjectListParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/product.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Product"] 6 | 7 | Product: TypeAlias = Literal["zoneLockdown", "uaBlock", "bic", "hot", "securityLevel", "rateLimit", "waf"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/ips/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .ips import IPs as IPs 6 | from .ip_list_params import IPListParams as IPListParams 7 | from .ip_list_response import IPListResponse as IPListResponse 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/network_interconnects/setting_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["SettingUpdateResponse"] 6 | 7 | 8 | class SettingUpdateResponse(BaseModel): 9 | default_asn: int 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/bgp/hijacks/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .event_list_params import EventListParams as EventListParams 6 | from .event_list_response import EventListResponse as EventListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/rules/lists/item_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["ItemListResponse"] 7 | 8 | ItemListResponse: TypeAlias = Union[List[object], object] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/ip_network.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["IPNetwork"] 6 | 7 | 8 | class IPNetwork(BaseModel): 9 | network: str 10 | """The IP address or IP CIDR.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/accounts/account_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["AccountDeleteResponse"] 6 | 7 | 8 | class AccountDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/category_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["CategoryDeleteResponse"] 6 | 7 | 8 | class CategoryDeleteResponse(BaseModel): 9 | uuid: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/insight_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["InsightDeleteResponse"] 6 | 7 | 8 | class InsightDeleteResponse(BaseModel): 9 | success: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_pages/custom_page_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["CustomPageGetResponse"] 7 | 8 | CustomPageGetResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/iam/user_group_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["UserGroupDeleteResponse"] 6 | 7 | 8 | class UserGroupDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/attack_surface_report/severity_query_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["SeverityQueryParam"] 6 | 7 | SeverityQueryParam: TypeAlias = Literal["low", "moderate", "critical"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/catalog_sync_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["CatalogSyncDeleteResponse"] 6 | 7 | 8 | class CatalogSyncDeleteResponse(BaseModel): 9 | id: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/rate_limits/action.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["Action"] 6 | 7 | Action: TypeAlias = Literal["block", "challenge", "js_challenge", "managed_challenge", "allow", "log", "bypass"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/rulesets/logging.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["Logging"] 6 | 7 | 8 | class Logging(BaseModel): 9 | enabled: bool 10 | """Whether to generate a log when the rule matches.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/identity_providers/scim/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .user_list_params import UserListParams as UserListParams 6 | from .group_list_params import GroupListParams as GroupListParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/cron_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["CronEditResponse"] 6 | 7 | 8 | class CronEditResponse(BaseModel): 9 | id: float 10 | 11 | update: str 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/event_tag_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["EventTagCreateResponse"] 6 | 7 | 8 | class EventTagCreateResponse(BaseModel): 9 | success: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/event_tag_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["EventTagDeleteResponse"] 6 | 7 | 8 | class EventTagDeleteResponse(BaseModel): 9 | success: bool 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/raw_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["RawEditResponse"] 6 | 7 | 8 | class RawEditResponse(BaseModel): 9 | id: str 10 | 11 | data: object 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/page_rules/page_rule_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["PageRuleDeleteResponse"] 6 | 7 | 8 | class PageRuleDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/rulesets/phases/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .version_get_response import VersionGetResponse as VersionGetResponse 6 | from .version_list_response import VersionListResponse as VersionListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/universal/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .setting_edit_params import SettingEditParams as SettingEditParams 6 | from .universal_ssl_settings import UniversalSSLSettings as UniversalSSLSettings 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/devices/revoke_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["RevokeCreateResponse"] 7 | 8 | RevokeCreateResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/ipv6_network.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["IPV6Network"] 6 | 7 | 8 | class IPV6Network(BaseModel): 9 | network: str 10 | """The IPv6 address or IPv6 CIDR.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/organization_revoke_users_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["OrganizationRevokeUsersResponse"] 6 | 7 | OrganizationRevokeUsersResponse: TypeAlias = Literal[True, False] 8 | -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- 1 | import nox 2 | 3 | 4 | @nox.session(reuse_venv=True, name="test-pydantic-v1") 5 | def test_pydantic_v1(session: nox.Session) -> None: 6 | session.install("-r", "requirements-dev.lock") 7 | session.install("pydantic<2") 8 | 9 | session.run("pytest", "--showlocals", "--ignore=tests/functional", *session.posargs) 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/browser_rendering/json_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["JsonCreateResponse"] 7 | 8 | JsonCreateResponse: TypeAlias = Dict[str, Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/tag_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["TagCreateResponse"] 6 | 7 | 8 | class TagCreateResponse(BaseModel): 9 | name: str 10 | 11 | uuid: str 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/custom_pages/custom_page_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["CustomPageUpdateResponse"] 7 | 8 | CustomPageUpdateResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/ua_rule_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["UARuleGetResponse"] 7 | 8 | UARuleGetResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/iam/resource_group_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["ResourceGroupDeleteResponse"] 6 | 7 | 8 | class ResourceGroupDeleteResponse(BaseModel): 9 | id: str 10 | """Identifier""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/traffic_anomalies/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .location_get_params import LocationGetParams as LocationGetParams 6 | from .location_get_response import LocationGetResponse as LocationGetResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/certificate_request_type.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CertificateRequestType"] 6 | 7 | CertificateRequestType: TypeAlias = Literal["origin-rsa", "origin-ecc", "keyless-certificate"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/sort_direction.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import Literal, TypeAlias 6 | 7 | __all__ = ["SortDirection"] 8 | 9 | SortDirection: TypeAlias = Literal["asc", "desc"] 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/token_condition_cidr_list.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import TypeAlias 6 | 7 | __all__ = ["TokenConditionCIDRList"] 8 | 9 | TokenConditionCIDRList: TypeAlias = str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/analytics/aggregates/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .current_get_params import CurrentGetParams as CurrentGetParams 6 | from .current_get_response import CurrentGetResponse as CurrentGetResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/assets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .upload_create_params import UploadCreateParams as UploadCreateParams 6 | from .upload_create_response import UploadCreateResponse as UploadCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/logs/scim/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .update_list_params import UpdateListParams as UpdateListParams 6 | from .update_list_response import UpdateListResponse as UpdateListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/devices/unrevoke_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["UnrevokeCreateResponse"] 7 | 8 | UnrevokeCreateResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dex/fleet_status/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .device_list_params import DeviceListParams as DeviceListParams 6 | from .device_list_response import DeviceListResponse as DeviceListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dlp/dataset_array.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .dataset import Dataset 7 | 8 | __all__ = ["DatasetArray"] 9 | 10 | DatasetArray: TypeAlias = List[Dataset] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/insight_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["InsightEditResponse"] 6 | 7 | 8 | class InsightEditResponse(BaseModel): 9 | content: str 10 | 11 | uuid: str 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/insight_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["InsightGetResponse"] 6 | 7 | 8 | class InsightGetResponse(BaseModel): 9 | content: str 10 | 11 | uuid: str 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/ttl_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing import Union 6 | from typing_extensions import Literal, TypeAlias 7 | 8 | __all__ = ["TTLParam"] 9 | 10 | TTLParam: TypeAlias = Union[float, Literal[1]] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/packages/rule_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["RuleGetResponse"] 7 | 8 | RuleGetResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/waf_rule.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Dict 4 | from typing_extensions import Literal, TypeAlias 5 | 6 | __all__ = ["WAFRule"] 7 | 8 | WAFRule: TypeAlias = Dict[str, Literal["challenge", "block", "simulate", "disable", "default"]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/region_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["RegionGetResponse"] 7 | 8 | RegionGetResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/cloud_integration_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["CloudIntegrationDeleteResponse"] 6 | 7 | 8 | class CloudIntegrationDeleteResponse(BaseModel): 9 | id: str 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_network_monitoring/rules/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .advertisement import Advertisement as Advertisement 6 | from .advertisement_edit_params import AdvertisementEditParams as AdvertisementEditParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/scripts/assets/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .upload_create_params import UploadCreateParams as UploadCreateParams 6 | from .upload_create_response import UploadCreateResponse as UploadCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/applications/policy_tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .user_list_params import UserListParams as UserListParams 6 | from .user_list_response import UserListResponse as UserListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/botnet_feed/configs/asn_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ASNGetResponse"] 8 | 9 | 10 | class ASNGetResponse(BaseModel): 11 | asn: Optional[int] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/access_rule_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["AccessRuleDeleteResponse"] 6 | 7 | 8 | class AccessRuleDeleteResponse(BaseModel): 9 | id: str 10 | """Defines an identifier.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/ua_rule_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["UARuleCreateResponse"] 7 | 8 | UARuleCreateResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/ua_rule_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["UARuleUpdateResponse"] 7 | 8 | UARuleUpdateResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/packages/group_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["GroupEditResponse"] 7 | 8 | GroupEditResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/firewall/waf/packages/group_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["GroupGetResponse"] 7 | 8 | GroupGetResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/region_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["RegionListResponse"] 7 | 8 | RegionListResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/logs/received/field_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["FieldGetResponse"] 8 | 9 | 10 | class FieldGetResponse(BaseModel): 11 | key: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/identifier.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["Identifier"] 8 | 9 | 10 | class Identifier(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/captions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .language_update_params import LanguageUpdateParams as LanguageUpdateParams 6 | from .language_delete_response import LanguageDeleteResponse as LanguageDeleteResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/web3/hostnames/ipfs_universal_paths/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .content_list import ContentList as ContentList 6 | from .content_list_update_params import ContentListUpdateParams as ContentListUpdateParams 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dlp/datasets/versions/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .entry_create_params import EntryCreateParams as EntryCreateParams 6 | from .entry_create_response import EntryCreateResponse as EntryCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/argo/smart_routing_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["SmartRoutingEditResponse"] 7 | 8 | SmartRoutingEditResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/argo/smart_routing_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["SmartRoutingGetResponse"] 7 | 8 | SmartRoutingGetResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/threat_events/insight_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["InsightCreateResponse"] 6 | 7 | 8 | class InsightCreateResponse(BaseModel): 9 | content: str 10 | 11 | uuid: str 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/acl_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ACLDeleteResponse"] 8 | 9 | 10 | class ACLDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/investigate/raw_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["RawGetResponse"] 6 | 7 | 8 | class RawGetResponse(BaseModel): 9 | raw: str 10 | """A UTF-8 encoded eml file of the email.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/pool_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["PoolDeleteResponse"] 8 | 9 | 10 | class PoolDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/logpush/ownership_validation.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["OwnershipValidation"] 8 | 9 | 10 | class OwnershipValidation(BaseModel): 11 | valid: Optional[bool] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/super_slurper/job_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["JobCreateResponse"] 8 | 9 | 10 | class JobCreateResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/spectrum/origin_port_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing import Union 6 | from typing_extensions import TypeAlias 7 | 8 | __all__ = ["OriginPortParam"] 9 | 10 | OriginPortParam: TypeAlias = Union[int, str] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/tokens/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .value_update_params import ValueUpdateParams as ValueUpdateParams 6 | from .permission_group_list_response import PermissionGroupListResponse as PermissionGroupListResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/waiting_rooms/event_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["EventDeleteResponse"] 8 | 9 | 10 | class EventDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/web3/hostname_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["HostnameDeleteResponse"] 6 | 7 | 8 | class HostnameDeleteResponse(BaseModel): 9 | id: str 10 | """Specify the identifier of the hostname.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/allowed_methods.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["AllowedMethods"] 6 | 7 | AllowedMethods: TypeAlias = Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"] 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/devices/posture/integration_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["IntegrationDeleteResponse"] 7 | 8 | IntegrationDeleteResponse: TypeAlias = Union[str, object, None] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/botnet_feed/configs/asn_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ASNDeleteResponse"] 8 | 9 | 10 | class ASNDeleteResponse(BaseModel): 11 | asn: Optional[int] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/peer_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["PeerDeleteResponse"] 8 | 9 | 10 | class PeerDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/tsig_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["TSIGDeleteResponse"] 8 | 9 | 10 | class TSIGDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/impersonation_registry_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["ImpersonationRegistryDeleteResponse"] 6 | 7 | 8 | class ImpersonationRegistryDeleteResponse(BaseModel): 9 | id: int 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/subscription_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Union, Optional 4 | from typing_extensions import TypeAlias 5 | 6 | __all__ = ["SubscriptionUpdateResponse"] 7 | 8 | SubscriptionUpdateResponse: TypeAlias = Union[Optional[str], Optional[object]] 9 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/monitor_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["MonitorDeleteResponse"] 8 | 9 | 10 | class MonitorDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/buckets/domains/custom_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ....._models import BaseModel 4 | 5 | __all__ = ["CustomDeleteResponse"] 6 | 7 | 8 | class CustomDeleteResponse(BaseModel): 9 | domain: str 10 | """Name of the removed custom domain.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/ai/bots/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .summary_user_agent_params import SummaryUserAgentParams as SummaryUserAgentParams 6 | from .summary_user_agent_response import SummaryUserAgentResponse as SummaryUserAgentResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/_utils/_streams.py: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | from typing_extensions import Iterator, AsyncIterator 3 | 4 | 5 | def consume_sync_iterator(iterator: Iterator[Any]) -> None: 6 | for _ in iterator: 7 | ... 8 | 9 | 10 | async def consume_async_iterator(iterator: AsyncIterator[Any]) -> None: 11 | async for _ in iterator: 12 | ... 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/abuse_reports/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .abuse_report_create_params import AbuseReportCreateParams as AbuseReportCreateParams 6 | from .abuse_report_create_response import AbuseReportCreateResponse as AbuseReportCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/incoming_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["IncomingDeleteResponse"] 8 | 9 | 10 | class IncomingDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/zone_transfers/outgoing_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["OutgoingDeleteResponse"] 8 | 9 | 10 | class OutgoingDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/domain_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["DomainDeleteResponse"] 6 | 7 | 8 | class DomainDeleteResponse(BaseModel): 9 | id: int 10 | """The unique identifier for the domain.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v2/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .direct_upload_create_params import DirectUploadCreateParams as DirectUploadCreateParams 6 | from .direct_upload_create_response import DirectUploadCreateResponse as DirectUploadCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/page_rules/page_rule_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .page_rule import PageRule 7 | 8 | __all__ = ["PageRuleListResponse"] 9 | 10 | PageRuleListResponse: TypeAlias = List[PageRule] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/rules/hostname_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import Required, TypedDict 6 | 7 | __all__ = ["HostnameParam"] 8 | 9 | 10 | class HostnameParam(TypedDict, total=False): 11 | url_hostname: Required[str] 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/alerting/policy_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["PolicyCreateResponse"] 8 | 9 | 10 | class PolicyCreateResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/alerting/policy_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["PolicyUpdateResponse"] 8 | 9 | 10 | class PolicyUpdateResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/record_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["RecordDeleteResponse"] 8 | 9 | 10 | class RecordDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/investigate/preview_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["PreviewGetResponse"] 6 | 7 | 8 | class PreviewGetResponse(BaseModel): 9 | screenshot: str 10 | """A base64 encoded PNG image of the email.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/rules/lists/list_cursor.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["ListCursor"] 8 | 9 | 10 | class ListCursor(BaseModel): 11 | after: Optional[str] = None 12 | 13 | before: Optional[str] = None 14 | -------------------------------------------------------------------------------- /src/cloudflare/types/schema_validation/schema_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["SchemaDeleteResponse"] 6 | 7 | 8 | class SchemaDeleteResponse(BaseModel): 9 | schema_id: str 10 | """The ID of the schema that was just deleted""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/certificate_ca.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import Literal, TypeAlias 6 | 7 | __all__ = ["CertificateCA"] 8 | 9 | CertificateCA: TypeAlias = Literal["digicert", "google", "lets_encrypt", "ssl_com"] 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/role.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import Required, TypedDict 6 | 7 | __all__ = ["Role"] 8 | 9 | 10 | class Role(TypedDict, total=False): 11 | id: Required[str] 12 | """Role identifier tag.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/waiting_rooms/waiting_room_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["WaitingRoomDeleteResponse"] 8 | 9 | 10 | class WaitingRoomDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/scripts/tail_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["TailGetResponse"] 6 | 7 | 8 | class TailGetResponse(BaseModel): 9 | id: str 10 | """Identifier.""" 11 | 12 | expires_at: str 13 | 14 | url: str 15 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dex/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .tests import Tests as Tests 6 | from .unique_devices import UniqueDevices as UniqueDevices 7 | from .unique_device_list_params import UniqueDeviceListParams as UniqueDeviceListParams 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/domain_bulk_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["DomainBulkDeleteResponse"] 6 | 7 | 8 | class DomainBulkDeleteResponse(BaseModel): 9 | id: int 10 | """The unique identifier for the domain.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1/key_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .key import Key 6 | from ...._models import BaseModel 7 | 8 | __all__ = ["KeyListResponse"] 9 | 10 | 11 | class KeyListResponse(BaseModel): 12 | keys: Optional[List[Key]] = None 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/load_balancers/load_balancer_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["LoadBalancerDeleteResponse"] 8 | 9 | 10 | class LoadBalancerDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/logpush/job_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["JobDeleteResponse"] 8 | 9 | 10 | class JobDeleteResponse(BaseModel): 11 | id: Optional[int] = None 12 | """Unique id of the job.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/ssl/verification_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .verification import Verification 7 | 8 | __all__ = ["VerificationGetResponse"] 9 | 10 | VerificationGetResponse: TypeAlias = List[Verification] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/stream/live_inputs/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .output import Output as Output 6 | from .output_create_params import OutputCreateParams as OutputCreateParams 7 | from .output_update_params import OutputUpdateParams as OutputUpdateParams 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/route_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["RouteDeleteResponse"] 8 | 9 | 10 | class RouteDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/applications/user_policy_check_geo.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ....._models import BaseModel 6 | 7 | __all__ = ["UserPolicyCheckGeo"] 8 | 9 | 10 | class UserPolicyCheckGeo(BaseModel): 11 | country: Optional[str] = None 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/gateway/lists/item_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from ..gateway_item import GatewayItem 7 | 8 | __all__ = ["ItemListResponse"] 9 | 10 | ItemListResponse: TypeAlias = List[GatewayItem] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/api_gateway/expression_template/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .fallthrough_create_params import FallthroughCreateParams as FallthroughCreateParams 6 | from .fallthrough_create_response import FallthroughCreateResponse as FallthroughCreateResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloudforce_one/request_types.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .request_types_response import RequestTypesResponse 7 | 8 | __all__ = ["RequestTypes"] 9 | 10 | RequestTypes: TypeAlias = List[RequestTypesResponse] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/investigate/preview_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["PreviewCreateResponse"] 6 | 7 | 8 | class PreviewCreateResponse(BaseModel): 9 | screenshot: str 10 | """A base64 encoded PNG image of the email.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .image import Image 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["V1ListResponse"] 9 | 10 | 11 | class V1ListResponse(BaseModel): 12 | images: Optional[List[Image]] = None 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/on_ramps/address_space_edit_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["AddressSpaceEditResponse"] 8 | 9 | 10 | class AddressSpaceEditResponse(BaseModel): 11 | prefixes: List[str] 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/on_ramps/address_space_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["AddressSpaceListResponse"] 8 | 9 | 10 | class AddressSpaceListResponse(BaseModel): 11 | prefixes: List[str] 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/dataset_download_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ..._models import BaseModel 4 | 5 | __all__ = ["DatasetDownloadResponse", "Dataset"] 6 | 7 | 8 | class Dataset(BaseModel): 9 | url: str 10 | 11 | 12 | class DatasetDownloadResponse(BaseModel): 13 | dataset: Dataset 14 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/robots_txt/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .top_domain_categories_params import TopDomainCategoriesParams as TopDomainCategoriesParams 6 | from .top_domain_categories_response import TopDomainCategoriesResponse as TopDomainCategoriesResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/radar/robots_txt/top/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .user_agent_directive_params import UserAgentDirectiveParams as UserAgentDirectiveParams 6 | from .user_agent_directive_response import UserAgentDirectiveResponse as UserAgentDirectiveResponse 7 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared/permission_grant.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["PermissionGrant"] 8 | 9 | 10 | class PermissionGrant(BaseModel): 11 | read: Optional[bool] = None 12 | 13 | write: Optional[bool] = None 14 | -------------------------------------------------------------------------------- /src/cloudflare/types/shared_params/permission_grant.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import TypedDict 6 | 7 | __all__ = ["PermissionGrant"] 8 | 9 | 10 | class PermissionGrant(TypedDict, total=False): 11 | read: bool 12 | 13 | write: bool 14 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/tokens/value_update_params.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing_extensions import Required, TypedDict 6 | 7 | __all__ = ["ValueUpdateParams"] 8 | 9 | 10 | class ValueUpdateParams(TypedDict, total=False): 11 | body: Required[object] 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/workers/scripts/tail_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["TailCreateResponse"] 6 | 7 | 8 | class TailCreateResponse(BaseModel): 9 | id: str 10 | """Identifier.""" 11 | 12 | expires_at: str 13 | 14 | url: str 15 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/applications/ip_rule.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ....._models import BaseModel 4 | 5 | __all__ = ["IPRule", "IP"] 6 | 7 | 8 | class IP(BaseModel): 9 | ip: str 10 | """An IPv4 or IPv6 CIDR block.""" 11 | 12 | 13 | class IPRule(BaseModel): 14 | ip: IP 15 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/group_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["GroupDeleteResponse"] 8 | 9 | 10 | class GroupDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID.""" 13 | -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | ARG VARIANT="3.9" 2 | FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} 3 | 4 | USER vscode 5 | 6 | RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash 7 | ENV PATH=/home/vscode/.rye/shims:$PATH 8 | 9 | RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/alerting/destinations/pagerduty_link_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["PagerdutyLinkResponse"] 8 | 9 | 10 | class PagerdutyLinkResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/alerting/destinations/webhook_create_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["WebhookCreateResponse"] 8 | 9 | 10 | class WebhookCreateResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/alerting/destinations/webhook_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["WebhookUpdateResponse"] 8 | 9 | 10 | class WebhookUpdateResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns/settings/account/view_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ....._models import BaseModel 6 | 7 | __all__ = ["ViewDeleteResponse"] 8 | 9 | 10 | class ViewDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/allow_policy_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["AllowPolicyDeleteResponse"] 6 | 7 | 8 | class AllowPolicyDeleteResponse(BaseModel): 9 | id: int 10 | """The unique identifier for the allow policy.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/block_sender_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["BlockSenderDeleteResponse"] 6 | 7 | 8 | class BlockSenderDeleteResponse(BaseModel): 9 | id: int 10 | """The unique identifier for the allow policy.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/healthchecks/preview_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["PreviewDeleteResponse"] 8 | 9 | 10 | class PreviewDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/hostnames/settings/setting_value_param.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from typing import List, Union 6 | from typing_extensions import TypeAlias 7 | 8 | __all__ = ["SettingValueParam"] 9 | 10 | SettingValueParam: TypeAlias = Union[float, str, List[str]] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1/key_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .key import Key 6 | from ...._models import BaseModel 7 | 8 | __all__ = ["KeyDeleteResponse"] 9 | 10 | 11 | class KeyDeleteResponse(BaseModel): 12 | keys: Optional[List[Key]] = None 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1/key_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .key import Key 6 | from ...._models import BaseModel 7 | 8 | __all__ = ["KeyUpdateResponse"] 9 | 10 | 11 | class KeyUpdateResponse(BaseModel): 12 | keys: Optional[List[Key]] = None 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/intel/domain_history_get_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | from typing_extensions import TypeAlias 5 | 6 | from .domain_history import DomainHistory 7 | 8 | __all__ = ["DomainHistoryGetResponse"] 9 | 10 | DomainHistoryGetResponse: TypeAlias = List[DomainHistory] 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_cloud_networking/on_ramps/address_space_update_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["AddressSpaceUpdateResponse"] 8 | 9 | 10 | class AddressSpaceUpdateResponse(BaseModel): 11 | prefixes: List[str] 12 | -------------------------------------------------------------------------------- /src/cloudflare/types/magic_transit/sites/nat.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["Nat"] 8 | 9 | 10 | class Nat(BaseModel): 11 | static_prefix: Optional[str] = None 12 | """A valid CIDR notation representing an IP range.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/bookmark_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["BookmarkDeleteResponse"] 8 | 9 | 10 | class BookmarkDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/dlp/skip_configuration.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["SkipConfiguration"] 6 | 7 | 8 | class SkipConfiguration(BaseModel): 9 | files: bool 10 | """If the content type is a file, skip context analysis and return all matches.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/healthchecks/check_region.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing_extensions import Literal, TypeAlias 4 | 5 | __all__ = ["CheckRegion"] 6 | 7 | CheckRegion: TypeAlias = Literal[ 8 | "WNAM", "ENAM", "WEU", "EEU", "NSAM", "SSAM", "OC", "ME", "NAF", "SAF", "IN", "SEAS", "NEAS", "ALL_REGIONS" 9 | ] 10 | -------------------------------------------------------------------------------- /src/cloudflare/types/r2/bucket_list_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import List, Optional 4 | 5 | from .bucket import Bucket 6 | from ..._models import BaseModel 7 | 8 | __all__ = ["BucketListResponse"] 9 | 10 | 11 | class BucketListResponse(BaseModel): 12 | buckets: Optional[List[Bucket]] = None 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/rum/rule_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["RuleDeleteResponse"] 8 | 9 | 10 | class RuleDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """The Web Analytics rule identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/billing/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .billing_history import BillingHistory as BillingHistory 6 | from .history_list_params import HistoryListParams as HistoryListParams 7 | from .profile_get_response import ProfileGetResponse as ProfileGetResponse 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/user/organization_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["OrganizationDeleteResponse"] 8 | 9 | 10 | class OrganizationDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/entry_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ......_models import BaseModel 4 | 5 | __all__ = ["EntryDeleteResponse"] 6 | 7 | 8 | class EntryDeleteResponse(BaseModel): 9 | id: str 10 | """Specify the identifier of the hostname.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/gateway_ca_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["GatewayCADeleteResponse"] 8 | 9 | 10 | class GatewayCADeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """UUID.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/access/tag_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["TagDeleteResponse"] 8 | 9 | 10 | class TagDeleteResponse(BaseModel): 11 | name: Optional[str] = None 12 | """The name of the tag""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/zero_trust/devices/posture_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["PostureDeleteResponse"] 8 | 9 | 10 | class PostureDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """API UUID.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/cloud_connector/__init__.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from __future__ import annotations 4 | 5 | from .rule_list_response import RuleListResponse as RuleListResponse 6 | from .rule_update_params import RuleUpdateParams as RuleUpdateParams 7 | from .rule_update_response import RuleUpdateResponse as RuleUpdateResponse 8 | -------------------------------------------------------------------------------- /src/cloudflare/types/dns_firewall/dns_firewall_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["DNSFirewallDeleteResponse"] 8 | 9 | 10 | class DNSFirewallDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier.""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/email_security/settings/trusted_domain_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from ...._models import BaseModel 4 | 5 | __all__ = ["TrustedDomainDeleteResponse"] 6 | 7 | 8 | class TrustedDomainDeleteResponse(BaseModel): 9 | id: int 10 | """The unique identifier for the trusted domain.""" 11 | -------------------------------------------------------------------------------- /src/cloudflare/types/healthchecks/healthcheck_delete_response.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ..._models import BaseModel 6 | 7 | __all__ = ["HealthcheckDeleteResponse"] 8 | 9 | 10 | class HealthcheckDeleteResponse(BaseModel): 11 | id: Optional[str] = None 12 | """Identifier""" 13 | -------------------------------------------------------------------------------- /src/cloudflare/types/images/v1/key.py: -------------------------------------------------------------------------------- 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. 2 | 3 | from typing import Optional 4 | 5 | from ...._models import BaseModel 6 | 7 | __all__ = ["Key"] 8 | 9 | 10 | class Key(BaseModel): 11 | name: Optional[str] = None 12 | """Key name.""" 13 | 14 | value: Optional[str] = None 15 | """Key value.""" 16 | --------------------------------------------------------------------------------