Skip to content

Commit 3836b7d

Browse files
chore(api): update composite API spec
1 parent 2058e9d commit 3836b7d

5 files changed

Lines changed: 9 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1822
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-34fac9517dafa7a70a3de8f59b8fbff204199eb3c136ad1d375f5ef158f87d90.yml
3-
openapi_spec_hash: 6a915873baf7fcdca625c90909492e28
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7016e83aabf7646a81ac5ee22178d062ad96ad78cba4d0051dbe5962154b3df8.yml
3+
openapi_spec_hash: cfaf36e9bd5a4d71172862f4c24a9474
44
config_hash: 107e0f1f8a98b007260b319226b88b3c

src/cloudflare/resources/alerting/policies.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def create(
5656
*,
5757
account_id: str,
5858
alert_type: Literal[
59+
"abuse_report_alert",
5960
"access_custom_certificate_expiration_type",
6061
"advanced_ddos_attack_l4_alert",
6162
"advanced_ddos_attack_l7_alert",
@@ -204,6 +205,7 @@ def update(
204205
account_id: str,
205206
alert_interval: str | Omit = omit,
206207
alert_type: Literal[
208+
"abuse_report_alert",
207209
"access_custom_certificate_expiration_type",
208210
"advanced_ddos_attack_l4_alert",
209211
"advanced_ddos_attack_l7_alert",
@@ -495,6 +497,7 @@ async def create(
495497
*,
496498
account_id: str,
497499
alert_type: Literal[
500+
"abuse_report_alert",
498501
"access_custom_certificate_expiration_type",
499502
"advanced_ddos_attack_l4_alert",
500503
"advanced_ddos_attack_l7_alert",
@@ -643,6 +646,7 @@ async def update(
643646
account_id: str,
644647
alert_interval: str | Omit = omit,
645648
alert_type: Literal[
649+
"abuse_report_alert",
646650
"access_custom_certificate_expiration_type",
647651
"advanced_ddos_attack_l4_alert",
648652
"advanced_ddos_attack_l7_alert",

src/cloudflare/types/alerting/policy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Policy(BaseModel):
2323

2424
alert_type: Optional[
2525
Literal[
26+
"abuse_report_alert",
2627
"access_custom_certificate_expiration_type",
2728
"advanced_ddos_attack_l4_alert",
2829
"advanced_ddos_attack_l7_alert",

src/cloudflare/types/alerting/policy_create_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class PolicyCreateParams(TypedDict, total=False):
1616

1717
alert_type: Required[
1818
Literal[
19+
"abuse_report_alert",
1920
"access_custom_certificate_expiration_type",
2021
"advanced_ddos_attack_l4_alert",
2122
"advanced_ddos_attack_l7_alert",

src/cloudflare/types/alerting/policy_update_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class PolicyUpdateParams(TypedDict, total=False):
2121
"""
2222

2323
alert_type: Literal[
24+
"abuse_report_alert",
2425
"access_custom_certificate_expiration_type",
2526
"advanced_ddos_attack_l4_alert",
2627
"advanced_ddos_attack_l7_alert",

0 commit comments

Comments
 (0)