Skip to content

Commit 315c8eb

Browse files
chore(api): update composite API spec
1 parent de4f15a commit 315c8eb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1891
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c30ae9fd91114b108324db5570c006eb24131b2459a66b6e46aacc79af977e9b.yml
3-
openapi_spec_hash: 5466475f372aa7d937fa629e2db6acbb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f7a77ec7ae1fab07327c87ce25393cc1226e3c5252ef3eae118cfd4f01ed2a2e.yml
3+
openapi_spec_hash: 5f756259e07113ce6bcf45f074a07ea4
44
config_hash: f02bc3ad56bdede6c515f996ca86012c

src/cloudflare/resources/workflows/instances/status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def edit(
5151
*,
5252
account_id: str,
5353
workflow_name: str,
54-
status: Literal["resume", "pause", "terminate"],
54+
status: Literal["resume", "pause", "terminate", "restart"],
5555
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5656
# The extra values given here take precedence over values defined on the client or passed to this method.
5757
extra_headers: Headers | None = None,
@@ -119,7 +119,7 @@ async def edit(
119119
*,
120120
account_id: str,
121121
workflow_name: str,
122-
status: Literal["resume", "pause", "terminate"],
122+
status: Literal["resume", "pause", "terminate", "restart"],
123123
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
124124
# The extra values given here take precedence over values defined on the client or passed to this method.
125125
extra_headers: Headers | None = None,

src/cloudflare/types/workflows/instances/status_edit_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ class StatusEditParams(TypedDict, total=False):
1212

1313
workflow_name: Required[str]
1414

15-
status: Required[Literal["resume", "pause", "terminate"]]
15+
status: Required[Literal["resume", "pause", "terminate", "restart"]]
1616
"""Apply action to instance."""

0 commit comments

Comments
 (0)