Skip to content

Commit 9c3c799

Browse files
chore(api): update composite API spec
1 parent 5e27899 commit 9c3c799

File tree

6 files changed

+34
-2
lines changed

6 files changed

+34
-2
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: 1993
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-66f2bf9d25febbeba0695f910c973c871a57ae4a942d97e7810a030239ab14cb.yml
3-
openapi_spec_hash: 0b6fd557233a4e6c208822b5b062d199
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-27df4a8eb29421fc73f5615e454fffd12c3a2ded87e62b0b6f94e280944207d0.yml
3+
openapi_spec_hash: d21f2d93b8f5d7e34684960eadd53f16
44
config_hash: 316e765ff117ffcf8ecf5a3187c184b1

src/cloudflare/types/rulesets/rule_create_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,6 +3043,12 @@ class SetConfigurationRuleActionParameters(TypedDict, total=False):
30433043
polish: Literal["off", "lossless", "lossy", "webp"]
30443044
"""The Polish level to configure."""
30453045

3046+
request_body_buffering: Literal["none", "standard", "full"]
3047+
"""The request body buffering mode."""
3048+
3049+
response_body_buffering: Literal["none", "standard"]
3050+
"""The response body buffering mode."""
3051+
30463052
rocket_loader: bool
30473053
"""Whether to enable Rocket Loader."""
30483054

src/cloudflare/types/rulesets/rule_edit_params.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,6 +3094,12 @@ class SetConfigurationRuleActionParameters(TypedDict, total=False):
30943094
polish: Literal["off", "lossless", "lossy", "webp"]
30953095
"""The Polish level to configure."""
30963096

3097+
request_body_buffering: Literal["none", "standard", "full"]
3098+
"""The request body buffering mode."""
3099+
3100+
response_body_buffering: Literal["none", "standard"]
3101+
"""The response body buffering mode."""
3102+
30973103
rocket_loader: bool
30983104
"""Whether to enable Rocket Loader."""
30993105

src/cloudflare/types/rulesets/set_config_rule.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ class ActionParameters(BaseModel):
6565
polish: Optional[Literal["off", "lossless", "lossy", "webp"]] = None
6666
"""The Polish level to configure."""
6767

68+
request_body_buffering: Optional[Literal["none", "standard", "full"]] = None
69+
"""The request body buffering mode."""
70+
71+
response_body_buffering: Optional[Literal["none", "standard"]] = None
72+
"""The response body buffering mode."""
73+
6874
rocket_loader: Optional[bool] = None
6975
"""Whether to enable Rocket Loader."""
7076

src/cloudflare/types/rulesets/set_config_rule_param.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ class ActionParameters(TypedDict, total=False):
7171
polish: Literal["off", "lossless", "lossy", "webp"]
7272
"""The Polish level to configure."""
7373

74+
request_body_buffering: Literal["none", "standard", "full"]
75+
"""The request body buffering mode."""
76+
77+
response_body_buffering: Literal["none", "standard"]
78+
"""The response body buffering mode."""
79+
7480
rocket_loader: bool
7581
"""Whether to enable Rocket Loader."""
7682

tests/api_resources/rulesets/test_rules.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,6 +1643,8 @@ def test_method_create_with_all_params_overload_17(self, client: Cloudflare) ->
16431643
"mirage": True,
16441644
"opportunistic_encryption": True,
16451645
"polish": "off",
1646+
"request_body_buffering": "standard",
1647+
"response_body_buffering": "standard",
16461648
"rocket_loader": True,
16471649
"security_level": "off",
16481650
"server_side_excludes": True,
@@ -3747,6 +3749,8 @@ def test_method_edit_with_all_params_overload_17(self, client: Cloudflare) -> No
37473749
"mirage": True,
37483750
"opportunistic_encryption": True,
37493751
"polish": "off",
3752+
"request_body_buffering": "standard",
3753+
"response_body_buffering": "standard",
37503754
"rocket_loader": True,
37513755
"security_level": "off",
37523756
"server_side_excludes": True,
@@ -5576,6 +5580,8 @@ async def test_method_create_with_all_params_overload_17(self, async_client: Asy
55765580
"mirage": True,
55775581
"opportunistic_encryption": True,
55785582
"polish": "off",
5583+
"request_body_buffering": "standard",
5584+
"response_body_buffering": "standard",
55795585
"rocket_loader": True,
55805586
"security_level": "off",
55815587
"server_side_excludes": True,
@@ -7680,6 +7686,8 @@ async def test_method_edit_with_all_params_overload_17(self, async_client: Async
76807686
"mirage": True,
76817687
"opportunistic_encryption": True,
76827688
"polish": "off",
7689+
"request_body_buffering": "standard",
7690+
"response_body_buffering": "standard",
76837691
"rocket_loader": True,
76847692
"security_level": "off",
76857693
"server_side_excludes": True,

0 commit comments

Comments
 (0)