Skip to content

Commit 4361794

Browse files
author
OpenAPI Publisher Production
committed
Update bundle: cel-api
Stainless-Generated-From: e93470c9377b1482e2df66912e16fd2c2f7f3aad
1 parent 36960d0 commit 4361794

38 files changed

Lines changed: 974 additions & 65 deletions

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎src/cloudflare/resources/bot_management/bot_management.py‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def update(
6363
enable_js: bool | Omit = omit,
6464
fight_mode: bool | Omit = omit,
6565
is_robots_txt_managed: bool | Omit = omit,
66+
jsd_api_results_enabled: bool | Omit = omit,
6667
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6768
# The extra values given here take precedence over values defined on the client or passed to this method.
6869
extra_headers: Headers | None = None,
@@ -167,6 +168,9 @@ def update(
167168
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
168169
then managed robots.txt will be prepended to the existing robots.txt.
169170
171+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
172+
zone.
173+
170174
extra_headers: Send extra headers
171175
172176
extra_query: Add additional query parameters to the request
@@ -193,6 +197,7 @@ def update(
193197
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
194198
enable_js: bool | Omit = omit,
195199
is_robots_txt_managed: bool | Omit = omit,
200+
jsd_api_results_enabled: bool | Omit = omit,
196201
optimize_wordpress: bool | Omit = omit,
197202
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
198203
sbfm_static_resource_protection: bool | Omit = omit,
@@ -299,6 +304,9 @@ def update(
299304
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
300305
then managed robots.txt will be prepended to the existing robots.txt.
301306
307+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
308+
zone.
309+
302310
optimize_wordpress: Whether to optimize Super Bot Fight Mode protections for Wordpress.
303311
304312
sbfm_definitely_automated: Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
@@ -335,6 +343,7 @@ def update(
335343
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
336344
enable_js: bool | Omit = omit,
337345
is_robots_txt_managed: bool | Omit = omit,
346+
jsd_api_results_enabled: bool | Omit = omit,
338347
optimize_wordpress: bool | Omit = omit,
339348
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
340349
sbfm_likely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
@@ -442,6 +451,9 @@ def update(
442451
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
443452
then managed robots.txt will be prepended to the existing robots.txt.
444453
454+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
455+
zone.
456+
445457
optimize_wordpress: Whether to optimize Super Bot Fight Mode protections for Wordpress.
446458
447459
sbfm_definitely_automated: Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
@@ -482,6 +494,7 @@ def update(
482494
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
483495
enable_js: bool | Omit = omit,
484496
is_robots_txt_managed: bool | Omit = omit,
497+
jsd_api_results_enabled: bool | Omit = omit,
485498
suppress_session_score: bool | Omit = omit,
486499
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
487500
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -592,6 +605,9 @@ def update(
592605
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
593606
then managed robots.txt will be prepended to the existing robots.txt.
594607
608+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
609+
zone.
610+
595611
suppress_session_score: Whether to disable tracking the highest bot score for a session in the Bot
596612
Management cookie.
597613
@@ -622,6 +638,7 @@ def update(
622638
enable_js: bool | Omit = omit,
623639
fight_mode: bool | Omit = omit,
624640
is_robots_txt_managed: bool | Omit = omit,
641+
jsd_api_results_enabled: bool | Omit = omit,
625642
optimize_wordpress: bool | Omit = omit,
626643
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
627644
sbfm_static_resource_protection: bool | Omit = omit,
@@ -657,6 +674,7 @@ def update(
657674
"enable_js": enable_js,
658675
"fight_mode": fight_mode,
659676
"is_robots_txt_managed": is_robots_txt_managed,
677+
"jsd_api_results_enabled": jsd_api_results_enabled,
660678
"optimize_wordpress": optimize_wordpress,
661679
"sbfm_definitely_automated": sbfm_definitely_automated,
662680
"sbfm_static_resource_protection": sbfm_static_resource_protection,
@@ -763,6 +781,7 @@ async def update(
763781
enable_js: bool | Omit = omit,
764782
fight_mode: bool | Omit = omit,
765783
is_robots_txt_managed: bool | Omit = omit,
784+
jsd_api_results_enabled: bool | Omit = omit,
766785
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
767786
# The extra values given here take precedence over values defined on the client or passed to this method.
768787
extra_headers: Headers | None = None,
@@ -867,6 +886,9 @@ async def update(
867886
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
868887
then managed robots.txt will be prepended to the existing robots.txt.
869888
889+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
890+
zone.
891+
870892
extra_headers: Send extra headers
871893
872894
extra_query: Add additional query parameters to the request
@@ -893,6 +915,7 @@ async def update(
893915
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
894916
enable_js: bool | Omit = omit,
895917
is_robots_txt_managed: bool | Omit = omit,
918+
jsd_api_results_enabled: bool | Omit = omit,
896919
optimize_wordpress: bool | Omit = omit,
897920
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
898921
sbfm_static_resource_protection: bool | Omit = omit,
@@ -999,6 +1022,9 @@ async def update(
9991022
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
10001023
then managed robots.txt will be prepended to the existing robots.txt.
10011024
1025+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
1026+
zone.
1027+
10021028
optimize_wordpress: Whether to optimize Super Bot Fight Mode protections for Wordpress.
10031029
10041030
sbfm_definitely_automated: Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
@@ -1035,6 +1061,7 @@ async def update(
10351061
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
10361062
enable_js: bool | Omit = omit,
10371063
is_robots_txt_managed: bool | Omit = omit,
1064+
jsd_api_results_enabled: bool | Omit = omit,
10381065
optimize_wordpress: bool | Omit = omit,
10391066
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
10401067
sbfm_likely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
@@ -1142,6 +1169,9 @@ async def update(
11421169
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
11431170
then managed robots.txt will be prepended to the existing robots.txt.
11441171
1172+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
1173+
zone.
1174+
11451175
optimize_wordpress: Whether to optimize Super Bot Fight Mode protections for Wordpress.
11461176
11471177
sbfm_definitely_automated: Super Bot Fight Mode (SBFM) action to take on definitely automated requests.
@@ -1182,6 +1212,7 @@ async def update(
11821212
crawler_protection: Literal["enabled", "disabled"] | Omit = omit,
11831213
enable_js: bool | Omit = omit,
11841214
is_robots_txt_managed: bool | Omit = omit,
1215+
jsd_api_results_enabled: bool | Omit = omit,
11851216
suppress_session_score: bool | Omit = omit,
11861217
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
11871218
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1292,6 +1323,9 @@ async def update(
12921323
is_robots_txt_managed: Enable cloudflare managed robots.txt. If an existing robots.txt is detected,
12931324
then managed robots.txt will be prepended to the existing robots.txt.
12941325
1326+
jsd_api_results_enabled: Whether to use JavaScript Detection results submitted through the API for this
1327+
zone.
1328+
12951329
suppress_session_score: Whether to disable tracking the highest bot score for a session in the Bot
12961330
Management cookie.
12971331
@@ -1322,6 +1356,7 @@ async def update(
13221356
enable_js: bool | Omit = omit,
13231357
fight_mode: bool | Omit = omit,
13241358
is_robots_txt_managed: bool | Omit = omit,
1359+
jsd_api_results_enabled: bool | Omit = omit,
13251360
optimize_wordpress: bool | Omit = omit,
13261361
sbfm_definitely_automated: Literal["allow", "block", "managed_challenge"] | Omit = omit,
13271362
sbfm_static_resource_protection: bool | Omit = omit,
@@ -1357,6 +1392,7 @@ async def update(
13571392
"enable_js": enable_js,
13581393
"fight_mode": fight_mode,
13591394
"is_robots_txt_managed": is_robots_txt_managed,
1395+
"jsd_api_results_enabled": jsd_api_results_enabled,
13601396
"optimize_wordpress": optimize_wordpress,
13611397
"sbfm_definitely_automated": sbfm_definitely_automated,
13621398
"sbfm_static_resource_protection": sbfm_static_resource_protection,

‎src/cloudflare/resources/dns/settings/account/account.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def edit(
8282
affects how they are served at the edge. See more on
8383
[Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only).
8484
85+
zone_defaults: Default settings for new zones created in this account.
86+
8587
extra_headers: Send extra headers
8688
8789
extra_query: Add additional query parameters to the request
@@ -200,6 +202,8 @@ async def edit(
200202
affects how they are served at the edge. See more on
201203
[Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only).
202204
205+
zone_defaults: Default settings for new zones created in this account.
206+
203207
extra_headers: Send extra headers
204208
205209
extra_query: Add additional query parameters to the request

0 commit comments

Comments
 (0)