Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Nov 20, 2024
1 parent a3f64bc commit e4974fa
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1448
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4d2f05325a71a386987074fbab49673b6a1172a173789df9ed0d6db31a293904.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a87c8380ec40a8719b4385109e29fd5ec40c54f39d6fe216861c55e43ab74fd3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -408,7 +409,8 @@ def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -532,7 +534,8 @@ def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -1095,7 +1098,8 @@ def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -1293,7 +1297,8 @@ def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -1420,7 +1425,8 @@ def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -2284,7 +2290,8 @@ async def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -2476,7 +2483,8 @@ async def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -2600,7 +2608,8 @@ async def create(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -3163,7 +3172,8 @@ async def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -3361,7 +3371,8 @@ async def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down Expand Up @@ -3488,7 +3499,8 @@ async def update(
self_hosted_domains: List of domains that Access will secure.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
session_duration: The amount of time that tokens issued for this application will be valid. Must
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ class SelfHostedApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -584,7 +587,10 @@ class BrowserSSHApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -816,7 +822,10 @@ class BrowserVNCApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down
15 changes: 12 additions & 3 deletions src/cloudflare/types/zero_trust/access/application_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ class SelfHostedApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -584,7 +587,10 @@ class BrowserSSHApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -816,7 +822,10 @@ class BrowserVNCApplication(TypedDict, total=False):
"""List of domains that Access will secure."""

service_auth_401_redirect: bool
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: str
"""The amount of time that tokens issued for this application will be valid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down Expand Up @@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
"""List of domains that Access will secure."""

service_auth_401_redirect: Optional[bool] = None
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
"""
Returns a 401 status code when the request is blocked by a Service Auth policy
foo.
"""

session_duration: Optional[str] = None
"""The amount of time that tokens issued for this application will be valid.
Expand Down

0 comments on commit e4974fa

Please sign in to comment.