diff --git a/.stats.yml b/.stats.yml index 0e72628bff3..80ad2ee1442 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 1681 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-24deab812fa85ba3b255ad2301cf4e7dcf88b115e31d8be559505400afd37b6f.yml -openapi_spec_hash: 57130b075c054534f202a7f9ceb380f2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b412b3f646aa614251a43a3e8a89d283875b81a6882d59efd478eb9a7431b822.yml +openapi_spec_hash: 4043d310e69d87c2d2729886f1b3c006 config_hash: 5f546b68dc187cd0f2fea2d9ae061b3b diff --git a/src/cloudflare/resources/workflows/instances/status.py b/src/cloudflare/resources/workflows/instances/status.py index 766d412e3e1..5a112c59b44 100644 --- a/src/cloudflare/resources/workflows/instances/status.py +++ b/src/cloudflare/resources/workflows/instances/status.py @@ -54,7 +54,7 @@ def edit( *, account_id: str, workflow_name: str, - status: Literal["resume", "pause", "terminate"], + status: Literal["resume", "pause", "terminate", "restart"], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -122,7 +122,7 @@ async def edit( *, account_id: str, workflow_name: str, - status: Literal["resume", "pause", "terminate"], + status: Literal["resume", "pause", "terminate", "restart"], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, diff --git a/src/cloudflare/types/workflows/instances/status_edit_params.py b/src/cloudflare/types/workflows/instances/status_edit_params.py index 1bd88415fa1..65ea1721b80 100644 --- a/src/cloudflare/types/workflows/instances/status_edit_params.py +++ b/src/cloudflare/types/workflows/instances/status_edit_params.py @@ -12,5 +12,5 @@ class StatusEditParams(TypedDict, total=False): workflow_name: Required[str] - status: Required[Literal["resume", "pause", "terminate"]] + status: Required[Literal["resume", "pause", "terminate", "restart"]] """Possible actions to apply to instance"""