Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 15, 2024
1 parent 7e7913f commit bddf9a5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
24 changes: 12 additions & 12 deletions src/cloudflare/types/cache/variant_edit_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

from typing import Iterable
from typing import List
from typing_extensions import Required, TypedDict

__all__ = ["VariantEditParams", "Value"]
Expand All @@ -17,67 +17,67 @@ class VariantEditParams(TypedDict, total=False):


class Value(TypedDict, total=False):
avif: Iterable[object]
avif: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for avif.
"""

bmp: Iterable[object]
bmp: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for bmp.
"""

gif: Iterable[object]
gif: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for gif.
"""

jp2: Iterable[object]
jp2: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for jp2.
"""

jpeg: Iterable[object]
jpeg: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for jpeg.
"""

jpg: Iterable[object]
jpg: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for jpg.
"""

jpg2: Iterable[object]
jpg2: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for jpg2.
"""

png: Iterable[object]
png: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for png.
"""

tif: Iterable[object]
tif: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for tif.
"""

tiff: Iterable[object]
tiff: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for tiff.
"""

webp: Iterable[object]
webp: List[str]
"""
List of strings with the MIME types of all the variants that should be served
for webp.
Expand Down
22 changes: 11 additions & 11 deletions src/cloudflare/types/cache/variant_edit_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,67 +10,67 @@


class Value(BaseModel):
avif: Optional[List[object]] = None
avif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for avif.
"""

bmp: Optional[List[object]] = None
bmp: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for bmp.
"""

gif: Optional[List[object]] = None
gif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for gif.
"""

jp2: Optional[List[object]] = None
jp2: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jp2.
"""

jpeg: Optional[List[object]] = None
jpeg: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpeg.
"""

jpg: Optional[List[object]] = None
jpg: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpg.
"""

jpg2: Optional[List[object]] = None
jpg2: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpg2.
"""

png: Optional[List[object]] = None
png: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for png.
"""

tif: Optional[List[object]] = None
tif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for tif.
"""

tiff: Optional[List[object]] = None
tiff: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for tiff.
"""

webp: Optional[List[object]] = None
webp: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for webp.
Expand Down
22 changes: 11 additions & 11 deletions src/cloudflare/types/cache/variant_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,67 +10,67 @@


class Value(BaseModel):
avif: Optional[List[object]] = None
avif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for avif.
"""

bmp: Optional[List[object]] = None
bmp: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for bmp.
"""

gif: Optional[List[object]] = None
gif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for gif.
"""

jp2: Optional[List[object]] = None
jp2: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jp2.
"""

jpeg: Optional[List[object]] = None
jpeg: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpeg.
"""

jpg: Optional[List[object]] = None
jpg: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpg.
"""

jpg2: Optional[List[object]] = None
jpg2: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for jpg2.
"""

png: Optional[List[object]] = None
png: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for png.
"""

tif: Optional[List[object]] = None
tif: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for tif.
"""

tiff: Optional[List[object]] = None
tiff: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for tiff.
"""

webp: Optional[List[object]] = None
webp: Optional[List[str]] = None
"""
List of strings with the MIME types of all the variants that should be served
for webp.
Expand Down

0 comments on commit bddf9a5

Please sign in to comment.