Skip to content

Commit 20295df

Browse files
feat(api): api update
1 parent bf6d4b9 commit 20295df

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-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: 1706
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4a810155460d893b44d69ed17f570471527a9664b754d4b7b9717e8e48d19812.yml
3-
openapi_spec_hash: 2863fb23f8dd7ab19ef171a5389e2437
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-627ab50478edf8eabc3230ba7edd83c851e82e514c1d5f24d384889db8108713.yml
3+
openapi_spec_hash: 476109145204f775b98e4f032bcf59dd
44
config_hash: 67f412c990647f3cb598378fa22a9db5

src/cloudflare/resources/alerting/policies.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ def create(
6565
"block_notification_block_removed",
6666
"block_notification_new_block",
6767
"block_notification_review_rejected",
68+
"bot_traffic_basic_alert",
6869
"brand_protection_alert",
6970
"brand_protection_digest",
7071
"clickhouse_alert_fw_anomaly",
7172
"clickhouse_alert_fw_ent_anomaly",
7273
"cloudforce_one_request_notification",
7374
"custom_analytics",
75+
"custom_bot_detection_alert",
7476
"custom_ssl_certificate_event_type",
7577
"dedicated_ssl_certificate_event_type",
7678
"device_connectivity_anomaly_alert",
@@ -211,12 +213,14 @@ def update(
211213
"block_notification_block_removed",
212214
"block_notification_new_block",
213215
"block_notification_review_rejected",
216+
"bot_traffic_basic_alert",
214217
"brand_protection_alert",
215218
"brand_protection_digest",
216219
"clickhouse_alert_fw_anomaly",
217220
"clickhouse_alert_fw_ent_anomaly",
218221
"cloudforce_one_request_notification",
219222
"custom_analytics",
223+
"custom_bot_detection_alert",
220224
"custom_ssl_certificate_event_type",
221225
"dedicated_ssl_certificate_event_type",
222226
"device_connectivity_anomaly_alert",
@@ -500,12 +504,14 @@ async def create(
500504
"block_notification_block_removed",
501505
"block_notification_new_block",
502506
"block_notification_review_rejected",
507+
"bot_traffic_basic_alert",
503508
"brand_protection_alert",
504509
"brand_protection_digest",
505510
"clickhouse_alert_fw_anomaly",
506511
"clickhouse_alert_fw_ent_anomaly",
507512
"cloudforce_one_request_notification",
508513
"custom_analytics",
514+
"custom_bot_detection_alert",
509515
"custom_ssl_certificate_event_type",
510516
"dedicated_ssl_certificate_event_type",
511517
"device_connectivity_anomaly_alert",
@@ -646,12 +652,14 @@ async def update(
646652
"block_notification_block_removed",
647653
"block_notification_new_block",
648654
"block_notification_review_rejected",
655+
"bot_traffic_basic_alert",
649656
"brand_protection_alert",
650657
"brand_protection_digest",
651658
"clickhouse_alert_fw_anomaly",
652659
"clickhouse_alert_fw_ent_anomaly",
653660
"cloudforce_one_request_notification",
654661
"custom_analytics",
662+
"custom_bot_detection_alert",
655663
"custom_ssl_certificate_event_type",
656664
"dedicated_ssl_certificate_event_type",
657665
"device_connectivity_anomaly_alert",

src/cloudflare/types/alerting/policy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ class Policy(BaseModel):
3232
"block_notification_block_removed",
3333
"block_notification_new_block",
3434
"block_notification_review_rejected",
35+
"bot_traffic_basic_alert",
3536
"brand_protection_alert",
3637
"brand_protection_digest",
3738
"clickhouse_alert_fw_anomaly",
3839
"clickhouse_alert_fw_ent_anomaly",
3940
"cloudforce_one_request_notification",
4041
"custom_analytics",
42+
"custom_bot_detection_alert",
4143
"custom_ssl_certificate_event_type",
4244
"dedicated_ssl_certificate_event_type",
4345
"device_connectivity_anomaly_alert",

src/cloudflare/types/alerting/policy_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ class PolicyCreateParams(TypedDict, total=False):
2525
"block_notification_block_removed",
2626
"block_notification_new_block",
2727
"block_notification_review_rejected",
28+
"bot_traffic_basic_alert",
2829
"brand_protection_alert",
2930
"brand_protection_digest",
3031
"clickhouse_alert_fw_anomaly",
3132
"clickhouse_alert_fw_ent_anomaly",
3233
"cloudforce_one_request_notification",
3334
"custom_analytics",
35+
"custom_bot_detection_alert",
3436
"custom_ssl_certificate_event_type",
3537
"dedicated_ssl_certificate_event_type",
3638
"device_connectivity_anomaly_alert",

src/cloudflare/types/alerting/policy_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ class PolicyUpdateParams(TypedDict, total=False):
3030
"block_notification_block_removed",
3131
"block_notification_new_block",
3232
"block_notification_review_rejected",
33+
"bot_traffic_basic_alert",
3334
"brand_protection_alert",
3435
"brand_protection_digest",
3536
"clickhouse_alert_fw_anomaly",
3637
"clickhouse_alert_fw_ent_anomaly",
3738
"cloudforce_one_request_notification",
3839
"custom_analytics",
40+
"custom_bot_detection_alert",
3941
"custom_ssl_certificate_event_type",
4042
"dedicated_ssl_certificate_event_type",
4143
"device_connectivity_anomaly_alert",

0 commit comments

Comments
 (0)