Skip to content

Commit c3f510c

Browse files
feat(api): api update
1 parent 8570679 commit c3f510c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-46ae98ac058f8748b8ce2ff270c37edc601a9980f18cebe115f7df45974e7b9e.yml
3-
openapi_spec_hash: 48d63c6a54028125b8be56594f86f899
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3215c3ed5946a8ca7b39032c155f200362787d90d9f4be82df9c471b379c451b.yml
3+
openapi_spec_hash: 8ec2562cfbd4383c2767c3e16d63981c
44
config_hash: de4c81cee29cd7dd907279e8916b334f

src/cloudflare/resources/url_normalization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def update(
5050
self,
5151
*,
5252
zone_id: str,
53-
scope: Literal["incoming", "both"],
53+
scope: Literal["incoming", "both", "none"],
5454
type: Literal["cloudflare", "rfc3986"],
5555
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5656
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -198,7 +198,7 @@ async def update(
198198
self,
199199
*,
200200
zone_id: str,
201-
scope: Literal["incoming", "both"],
201+
scope: Literal["incoming", "both", "none"],
202202
type: Literal["cloudflare", "rfc3986"],
203203
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
204204
# The extra values given here take precedence over values defined on the client or passed to this method.

src/cloudflare/types/url_normalization/url_normalization_get_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class URLNormalizationGetResponse(BaseModel):
11-
scope: Literal["incoming", "both"]
11+
scope: Literal["incoming", "both", "none"]
1212
"""The scope of the URL normalization."""
1313

1414
type: Literal["cloudflare", "rfc3986"]

src/cloudflare/types/url_normalization/url_normalization_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class URLNormalizationUpdateParams(TypedDict, total=False):
1111
zone_id: Required[str]
1212
"""The unique ID of the zone."""
1313

14-
scope: Required[Literal["incoming", "both"]]
14+
scope: Required[Literal["incoming", "both", "none"]]
1515
"""The scope of the URL normalization."""
1616

1717
type: Required[Literal["cloudflare", "rfc3986"]]

src/cloudflare/types/url_normalization/url_normalization_update_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class URLNormalizationUpdateResponse(BaseModel):
11-
scope: Literal["incoming", "both"]
11+
scope: Literal["incoming", "both", "none"]
1212
"""The scope of the URL normalization."""
1313

1414
type: Literal["cloudflare", "rfc3986"]

0 commit comments

Comments
 (0)