Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent 14b7e5f commit 450bcb1
Show file tree
Hide file tree
Showing 507 changed files with 1,247 additions and 932 deletions.
1 change: 1 addition & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
configured_endpoints: 1266
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e202d9b1bb049167a2efb5c3981c53af7bab82b6411bbbd684557eef5b435880.yml
2 changes: 2 additions & 0 deletions src/cloudflare/types/accounts/member_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["MemberDeleteResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/cache/cache_purge_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["CachePurgeResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/firewall/access_rule_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["AccessRuleDeleteResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/firewall/deleted_filter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["DeletedFilter"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/keyless_certificates/tunnel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["Tunnel"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/pagerules/pagerule_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["PageruleDeleteResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/radar/bgp/route_stats_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ...._models import BaseModel

__all__ = ["RouteStatsResponse", "Meta", "Stats"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/radar/dataset_download_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["DatasetDownloadResponse", "Dataset"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ...._models import BaseModel
Expand Down
1 change: 1 addition & 0 deletions src/cloudflare/types/radar/entity_get_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ..._models import BaseModel
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/radar/http/browser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ...._models import BaseModel

__all__ = ["Browser"]
Expand Down
1 change: 1 addition & 0 deletions src/cloudflare/types/radar/radar_email_summary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ..._models import BaseModel
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/rules/hostname.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["Hostname"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/rulesets/logging.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["Logging"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/secondary_dns/acl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["ACL"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/secondary_dns/tsig.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["TSIG"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/user/token_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["TokenDeleteResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/waiting_rooms/setting_edit_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["SettingEditResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/waiting_rooms/setting_get_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["SettingGetResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/waiting_rooms/setting_update_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["SettingUpdateResponse"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/web3/hostname_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["HostnameDeleteResponse"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ......_models import BaseModel

__all__ = ["EntryDeleteResponse"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ....._models import BaseModel

__all__ = ["CertificateSettings"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/access_device_posture_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["AccessDevicePostureRule", "DevicePosture"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["AnyValidServiceTokenRule"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/authentication_method_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["AuthenticationMethodRule", "AuthMethod"]
Expand Down
1 change: 1 addition & 0 deletions src/cloudflare/types/zero_trust/azure_group_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ..._models import BaseModel
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/certificate_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["CertificateRule"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/country_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["CountryRule", "Geo"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/device_experience_monitor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["DeviceExperienceMonitor"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ...._models import BaseModel

__all__ = ["ClientCertificateInput"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ....._models import BaseModel
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/dlp/skip_configuration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ...._models import BaseModel

__all__ = ["SkipConfiguration"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/domain_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["DomainRule", "EmailDomain"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/email_list_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["EmailListRule", "EmailList"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/email_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["EmailRule", "Email"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/everyone_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["EveryoneRule"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/external_evaluation_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["ExternalEvaluationRule", "ExternalEvaluation"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/gateway/location_network.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ...._models import BaseModel

__all__ = ["LocationNetwork"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.


from pydantic import Field as FieldInfo

from ..._models import BaseModel
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/group_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["GroupRule", "Group"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/gsuite_group_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["GSuiteGroupRule", "GSuite"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/ip_list_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["IPListRule", "IPList"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/ip_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["IPRule", "IP"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/okta_group_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["OktaGroupRule", "Okta"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/saml_group_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["SAMLGroupRule", "SAML"]
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zero_trust/service_token_rule.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["ServiceTokenRule", "ServiceToken"]
Expand Down
8 changes: 4 additions & 4 deletions src/cloudflare/types/zones/zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ class Zone(BaseModel):
name: str
"""The domain name"""

name_servers: List[str]
"""The name servers Cloudflare assigns to a zone"""

original_dnshost: Optional[str] = None
"""DNS host at the time of switching to Cloudflare"""

original_name_servers: Optional[List[str]] = None
"""
Original name servers before moving to Cloudflare Notes: Is this only available
for full zones?
"""
"""Original name servers before moving to Cloudflare"""

original_registrar: Optional[str] = None
"""Registrar for the domain at the time of switching to Cloudflare"""
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/types/zones/zone_delete_response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.



from ..._models import BaseModel

__all__ = ["ZoneDeleteResponse"]
Expand Down
Loading

0 comments on commit 450bcb1

Please sign in to comment.