Skip to content

Commit c667ae5

Browse files
feat(api): api update
1 parent 0d3f55f commit c667ae5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
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: 1734
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5fa47af357b9f3d20b43154c9ca14d079e5814d7b61fa9b49121c290d26162e2.yml
3-
openapi_spec_hash: 6efef68568e8669c5f23598aadc0ced0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8400707c7d65617a4b6a962691833cdc36c6fc5de5bcf32aa6632ad64b26f4b5.yml
3+
openapi_spec_hash: c93c7a8fad796d5eab4dc0f8c32db670
44
config_hash: 7e270b3449efce600e3469937a344c2d

src/cloudflare/types/rulesets/rule_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ class SetConfigRuleActionParameters(TypedDict, total=False):
19631963
opportunistic_encryption: bool
19641964
"""Turn on or off Opportunistic Encryption."""
19651965

1966-
polish: Literal["off", "lossless", "lossy"]
1966+
polish: Literal["off", "lossless", "lossy", "webp"]
19671967
"""Configure the Polish level."""
19681968

19691969
rocket_loader: bool

src/cloudflare/types/rulesets/rule_edit_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2002,7 +2002,7 @@ class SetConfigRuleActionParameters(TypedDict, total=False):
20022002
opportunistic_encryption: bool
20032003
"""Turn on or off Opportunistic Encryption."""
20042004

2005-
polish: Literal["off", "lossless", "lossy"]
2005+
polish: Literal["off", "lossless", "lossy", "webp"]
20062006
"""Configure the Polish level."""
20072007

20082008
rocket_loader: bool

src/cloudflare/types/rulesets/set_config_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ActionParameters(BaseModel):
5555
opportunistic_encryption: Optional[bool] = None
5656
"""Turn on or off Opportunistic Encryption."""
5757

58-
polish: Optional[Literal["off", "lossless", "lossy"]] = None
58+
polish: Optional[Literal["off", "lossless", "lossy", "webp"]] = None
5959
"""Configure the Polish level."""
6060

6161
rocket_loader: Optional[bool] = None

src/cloudflare/types/rulesets/set_config_rule_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class ActionParameters(TypedDict, total=False):
6161
opportunistic_encryption: bool
6262
"""Turn on or off Opportunistic Encryption."""
6363

64-
polish: Literal["off", "lossless", "lossy"]
64+
polish: Literal["off", "lossless", "lossy", "webp"]
6565
"""Configure the Polish level."""
6666

6767
rocket_loader: bool

0 commit comments

Comments
 (0)