From e334514eb8805af7c8c7691e1bceb7c815ef509f Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Thu, 21 Mar 2024 19:26:20 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API --- .../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]