diff --git a/.stats.yml b/.stats.yml index 7f6aa95dfa7..b9b76a1a762 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1348 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6cbe8add32f8acdbd62db2535ff05cb698247f12ffc69168fc121409a8b05bec.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7c1749e86a3410071f606dc2289ff66d9c63b3fd27fb01c8f67bef49e521170d.yml diff --git a/src/cloudflare/types/stream/caption.py b/src/cloudflare/types/stream/caption.py index 4fc03b8b2f4..296ed927f18 100644 --- a/src/cloudflare/types/stream/caption.py +++ b/src/cloudflare/types/stream/caption.py @@ -1,6 +1,7 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. from typing import Optional +from typing_extensions import Literal from ..._models import BaseModel @@ -8,8 +9,14 @@ class Caption(BaseModel): + generated: Optional[bool] = None + """Whether the caption was generated via AI.""" + label: Optional[str] = None """The language label displayed in the native language to users.""" language: Optional[str] = None """The language tag in BCP 47 format.""" + + status: Optional[Literal["ready", "inprogress", "error"]] = None + """The status of a generated caption."""