From 178ca7e20f6350a13a37b23451ddafc3d77a4a6b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:46:09 +0000 Subject: [PATCH] feat(api): api update (#2148) --- .stats.yml | 2 +- src/cloudflare/resources/alerting/policies.py | 4 ++++ src/cloudflare/types/alerting/policy.py | 1 + src/cloudflare/types/alerting/policy_create_params.py | 1 + src/cloudflare/types/alerting/policy_update_params.py | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index eeed59eae11..3c566613221 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1417 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7d085f55544e992a7e3c3162951d86aac51322ac1cfaf8b50242484e69a0810d.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-238bdc2301e165198e92ece05a86c3b80aa6653c5cd7334b3dc59fd9d687acce.yml diff --git a/src/cloudflare/resources/alerting/policies.py b/src/cloudflare/resources/alerting/policies.py index 57e6112996f..c3f6b52c997 100644 --- a/src/cloudflare/resources/alerting/policies.py +++ b/src/cloudflare/resources/alerting/policies.py @@ -90,6 +90,7 @@ def create( "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", @@ -234,6 +235,7 @@ def update( "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", @@ -521,6 +523,7 @@ async def create( "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", @@ -665,6 +668,7 @@ async def update( "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", diff --git a/src/cloudflare/types/alerting/policy.py b/src/cloudflare/types/alerting/policy.py index 7829c7484b3..e247c40d603 100644 --- a/src/cloudflare/types/alerting/policy.py +++ b/src/cloudflare/types/alerting/policy.py @@ -54,6 +54,7 @@ class Policy(BaseModel): "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", diff --git a/src/cloudflare/types/alerting/policy_create_params.py b/src/cloudflare/types/alerting/policy_create_params.py index 4567cd05426..769c6d7e4d8 100644 --- a/src/cloudflare/types/alerting/policy_create_params.py +++ b/src/cloudflare/types/alerting/policy_create_params.py @@ -47,6 +47,7 @@ class PolicyCreateParams(TypedDict, total=False): "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert", diff --git a/src/cloudflare/types/alerting/policy_update_params.py b/src/cloudflare/types/alerting/policy_update_params.py index 5a7327016ab..613f894f620 100644 --- a/src/cloudflare/types/alerting/policy_update_params.py +++ b/src/cloudflare/types/alerting/policy_update_params.py @@ -52,6 +52,7 @@ class PolicyUpdateParams(TypedDict, total=False): "http_alert_origin_error", "incident_alert", "image_notification", + "image_resizing_notification", "load_balancing_health_alert", "load_balancing_pool_enablement_alert", "logo_match_alert",