From 6fed697d19f554b1da5852f88f823f187c5afe03 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 19:26:28 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#163) --- .../dispatch/namespace_create_response.py | 3 +++ .../workers_for_platforms/dispatch/namespace_get_response.py | 3 +++ .../workers_for_platforms/dispatch/namespace_list_response.py | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_create_response.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_create_response.py index 7122077a982..6c5fb1979de 100644 --- a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_create_response.py +++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_create_response.py @@ -26,3 +26,6 @@ class NamespaceCreateResponse(BaseModel): namespace_name: Optional[str] = None """Name of the Workers for Platforms dispatch namespace.""" + + script_count: Optional[int] = None + """The current number of scripts in this Dispatch Namespace""" diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_get_response.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_get_response.py index 295e1cd5695..504ece0a83f 100644 --- a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_get_response.py +++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_get_response.py @@ -26,3 +26,6 @@ class NamespaceGetResponse(BaseModel): namespace_name: Optional[str] = None """Name of the Workers for Platforms dispatch namespace.""" + + script_count: Optional[int] = None + """The current number of scripts in this Dispatch Namespace""" diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_list_response.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_list_response.py index b2c645b7fa2..18986d0c333 100644 --- a/src/cloudflare/types/workers_for_platforms/dispatch/namespace_list_response.py +++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespace_list_response.py @@ -27,5 +27,8 @@ class NamespaceListResponseItem(BaseModel): namespace_name: Optional[str] = None """Name of the Workers for Platforms dispatch namespace.""" + script_count: Optional[int] = None + """The current number of scripts in this Dispatch Namespace""" + NamespaceListResponse = List[NamespaceListResponseItem]